What You Need to Know About Spring Boot 2.2.1’s @ConfigurationProperties Changes
Spring Boot 2.2.1, released on November 7, 2019, introduces 110 fixes and disables automatic @ConfigurationProperties scanning by default, requiring developers to add @ConfigurationPropertiesScan manually, with full details available in the official GitHub issue.
Spring Boot 2.2.1 Release Highlights
Spring Boot 2.2.1 was officially released on November 7, 2019, bringing 110 fixes, improvements, and dependency upgrades.
Developers upgrading from 2.2.0 should pay special attention to the handling of @ConfigurationProperties . In this version the automatic scanning of this annotation is disabled by default.
To enable scanning, you must explicitly add the @ConfigurationPropertiesScan annotation to your configuration class.
For the full list of changes, see the GitHub issue: https://github.com/spring-projects/spring-boot/issues/18674
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
Programmer DD
A tinkering programmer and author of "Spring Cloud Microservices in Action"
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
