close

Filter

loading table of contents...

Release Notes / Version 11.2307

Table Of Contents

Updated auto configurations

With 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 the org.springframework.boot.autoconfigure.EnableAutoConfiguration key) to a new file named META-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 the org.springframework.boot.actuate.autoconfigure.web.ManagementContextConfiguration key) to a new file named META-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 new META-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)

Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.