摘要: 1.application继承SpringBootServletInitializer 重写configure方法如下图 2.去掉项目中多余的main方法 3.将pom.xml打包改为war包 4. 在项目目录下执行 mvn package -Dmaven.test.skip=true target 阅读全文
posted @ 2018-10-06 10:39 Duo17 阅读(104) 评论(0) 推荐(0) 编辑