1,过滤springboot自带tomcat
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
<scope>provided</scope>
</dependency>
2,更改打包方式
<packaging>war</packaging>
1,过滤springboot自带tomcat
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
<scope>provided</scope>
</dependency>
2,更改打包方式
<packaging>war</packaging>
本文标题:springboot 以war形式部署至tomcat
本文链接:https://www.haomeiwen.com/subject/stmwcqtx.html
网友评论