Spring Boot 1.5.3.RELEASE had several classes in org.springframework.boot.context.embed and also the subpackages jetty, tomcat, and undertow. However, https://github.com/spring-projects/spring-boot/tree/v2.0.0.M1/spring-boot/src/main/java/org/springframework/boot/context doesn't contain the subdirectory embed anymore.
Where are classes like TomcatEmbeddedServletContainerFactory gone?
Classes from org.springframework.boot.context.embedded have been relocated to org.springframework.boot.web, and renamed. Check this commit, for instance.
TomcatEmbeddedServletContainerFactory is now TomcatServletWebServerFactory.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With