一、修改打包形式在pom.xml里设置
<packaging>war</packaging>
二、移除嵌入式tomcat插件在pom.xml里找到spring-boot-starter-web依赖节点,在其中添加如下代码,
2019-11-25