寂寞路灯

文章
3
资源
0
加入时间
4年2月0天

利用IDEA将Spring Boot项目打成war包

第一步修改pom.xml文件,将jar改成war。第二步添加下面依赖,移除嵌入式tomcat插件<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId>