Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

EmbeddedServletContainerAutoConfiguration and ServerPropertiesAutoConfiguration in Spring Boot 2.0

when updating our project from Spring Boot 1.5 to 2.0 the classes EmbeddedServletContainerAutoConfiguration and ServerPropertiesAutoConfiguration were gone, although we need them desperately. When I search the internet doe those classes, I can't find any replacements for this classes. So my question is: Have those classes been removed with Spring Boot 2.0? If not, where have they been moved to? Or how I can replace them?

Thanks in advance.

like image 346
XDAF Avatar asked Sep 18 '18 20:09

XDAF


1 Answers

EmbeddedServletContainerAutoConfiguration has been renamed to ServletWebServerFactoryAutoConfiguration by this commit during work on restructuring embedded web server packages.

ServerPropertiesAutoConfiguration has been removed by this commit during work on the following issue. Those properties objects are now created using @EnableConfigurationProperties only.

Note: It might take some time for GitHub to show you particular line number.

like image 191
Eugene Maysyuk Avatar answered Oct 07 '22 02:10

Eugene Maysyuk