Spring Boot 2.0.0.M1:软件包org.springframework.boot.context.embed在哪里? [英] Spring Boot 2.0.0.M1: Where is the package org.springframework.boot.context.embed?
问题描述
Spring Boot 1.5.3.RELEASE在org.springframework.boot.context.embed
中具有几个类,并且还有子包jetty
,tomcat
和undertow
.但是,https://github.com/spring-projects/spring-boot/tree/v2.0.0.M1/spring-boot/src/main/java/org/springframework/boot/context
不再包含子目录embed
.
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.
像TomcatEmbeddedServletContainerFactory
这样的类去了哪里?
推荐答案
来自org.springframework.boot.context.embedded
的类已重定位到org.springframework.boot.web
,并已重命名.例如,检查此提交.
Classes from org.springframework.boot.context.embedded
have been relocated to org.springframework.boot.web
, and renamed. Check this commit, for instance.
TomcatEmbeddedServletContainerFactory
现在是
查看全文