【原因】
自带容器中的jar包与maven引入的tomcat依赖中的jar包有冲突
【解决方案】
屏蔽pom.xml中以下节点:
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-tomcat</artifactId> <scope>provided</scope> </dependency>
【参考资料】
https://blog.csdn.net/nv_ting/article/details/77991508
END