You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
classXXConfiguration {
}
@ConfigurationProperties(prefix ="xxprefix")
@ConstructorBinding
data classXXProperties(arg1:Arg1Class)
data classArg1Class(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.