Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Spring Boot 2.0.0.M1: Where is the package org.springframework.boot.context.embed? [closed]

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?

like image 842
Juergen Zimmermann Avatar asked May 17 '17 15:05

Juergen Zimmermann


1 Answers

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.

like image 138
Marc Tarin Avatar answered Nov 20 '22 01:11

Marc Tarin