1.父模块pom文件排除spring-boot-starter-web中的Tomcat <dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-web</artifactId><!-- 移……