Release Notes / Version 11.2304
Table Of ContentsWith the update to Spring Boot 2.7, there have been changes to auto configurations and management context configurations:
The registration of auto configurations have been moved from
spring.factories
(under theorg.springframework.boot.autoconfigure.EnableAutoConfiguration
key) to a new file namedMETA-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports
, where each line contains the fully qualified name of an auto configuration class.The registration of management context configurations have been moved from
spring.factories
(under theorg.springframework.boot.actuate.autoconfigure.web.ManagementContextConfiguration
key) to a new file namedMETA-INF/spring/org.springframework.boot.actuate.autoconfigure.web.ManagementContextConfiguration.imports
, where each line contains the fully qualified name of a management context configuration class.The
@Configuration
annotations of the auto configuration classes (that are listed in the newMETA-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports
files, see above) have been replaced with the new@AutoConfiguration
annotation.
For further information see Spring Boot 2.7 Release Notes: Changes to Auto-configuration
(CMS-22462)