Here what happened to be during bumping spring-boot from 2.2.0 to 2.2.1 migration
I was using kotlin with +- such a configuration
@Configuration
@EnableConfigurationProperties(XXProperties::class)
class XXConfiguration {
}
@ConfigurationProperties(prefix = "xxprefix")
@ConstructorBinding
data class XXProperties(arg1: Arg1Class)
data class Arg1Class(moreargs: String)
Now i am getting
Failed to bind properties under 'xxprefix' to org.example.XXProperties:
Reason: Parameter specified as non-null is null: method org.example.XXProperties.<init>, parameter arg1
I am a bit confused about what changed and how to undo the changes from 2.2.1.
I was thinking that it might be related to #18674, but i am not sure.