如下所示,将spring-boot-starter-tomcat依赖中的<scope>provided</scope>注释掉
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
<!--<scope>provided</scope>-->
</dependency>
posted on 2019-11-08 10:47  锋齐叶落  阅读(3899)  评论(0编辑  收藏  举报