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
@ConfigurationProperties("foo")
classFooProperties(
varbar: String = "bar",
var baz: Int = 1
)
Generates this stacktrace:
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [de.techdev.xyz.FooProperties]: No corresponding Kotlin constructor found
at org.springframework.beans.BeanUtils$KotlinDelegate.instantiateClass(BeanUtils.java:742) ~[spring-beans-5.0.0.RC3.jar:5.0.0.RC3]
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:165) ~[spring-beans-5.0.0.RC3.jar:5.0.0.RC3]
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:88) ~[spring-beans-5.0.0.RC3.jar:5.0.0.RC3]
Lewis opened SPR-15851 and commented
#20232 is the original report of the issue.
With Spring Boot 2.0 M3:
Generates this stacktrace:
Affects: 5.0 RC3
Issue Links:
Referenced from: commits ef175d7
The text was updated successfully, but these errors were encountered: