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?

查看:319
本文介绍了Spring Boot 2.0.0.M1:软件包org.springframework.boot.context.embed在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Spring Boot 1.5.3.RELEASE在org.springframework.boot.context.embed中具有几个类,并且还有子包jettytomcatundertow.但是,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现在是 查看全文

相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆