복붙노트

[SPRING] Spring Boot 2.0.0.M1 : org.springframework.boot.context.embed 패키지는 어디에 있습니까? [닫은]

SPRING

Spring Boot 2.0.0.M1 : 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 하위 디렉토리가 없습니다. 더 이상.

TomcatEmbeddedServletContainerFactory 같은 클래스는 어디에 있습니까?

해결법

  1. ==============================

    1.org.springframework.boot.context.embedded의 클래스는 org.springframework.boot.web로 재배치되어 이름이 변경되었습니다. 예를 들어,이 커밋을 확인하십시오.

    org.springframework.boot.context.embedded의 클래스는 org.springframework.boot.web로 재배치되어 이름이 변경되었습니다. 예를 들어,이 커밋을 확인하십시오.

    TomcatEmbeddedServletContainerFactory는 이제 TomcatServletWebServerFactory입니다.

  2. from https://stackoverflow.com/questions/44028875/spring-boot-2-0-0-m1-where-is-the-package-org-springframework-boot-context-embe by cc-by-sa and MIT license