org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainerFactory
을 사용하는 Spring Boot 응용 프로그램 버전 1.5.x가 있습니다. Spring Boot 2로 마이그레이션하려고 시도하지만 응용 프로그램이 컴파일되지 않습니다. 종속성이 org.springframework.boot:spring-boot-starter-tomcat
입니다. . 클래스를 제거하고 더 많은 정보 확인을 위해 org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory
으로 대체되었습니다TomcatEmbeddedServletContainerFactory가 Spring Boot 2에 없습니다.
error: package org.springframework.boot.context.embedded.tomcat