Cannot bind @ConfigurationProperties for bean 'ktor.client.core.configuration.KtorClientsPropertiesBootstrap'. Ensure that @ConstructorBinding has not been applied to regular bean
Comment From: KirillKurdyukov
client:
application:
server:
url: application-context.ru
@ConstructorBinding
@ConfigurationProperties(prefix = "")
class KtorClientsPropertiesBootstrap(var client: Map<String, KtorClientProperties> = mapOf())
data class KtorClientProperties(
val server: ServerSettings,
)
data class ServerSettings(val url: String)
Comment From: KirillKurdyukov
https://github.com/spring-projects/spring-boot/issues/26203 maybe this issue dont fixed?
Comment From: ryanjbaxter
Can you provide a complete, minimal, verifiable sample that reproduces the problem? It should be available as a GitHub (or similar) project or attached to this issue as a zip file.
Comment From: spring-cloud-issues
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.
Comment From: spring-cloud-issues
Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.
Comment From: steklopod
I have the same issue after upgrade Spring Boot:
Comment From: ryanjbaxter
See https://github.com/spring-cloud/spring-cloud-config/issues/2078#issuecomment-1301515429