spring boot打war包發佈

  由於公司一貫的方式都是將war包布在中間件tomcat下運行 所以這次springboot項目需要打war包 how to?   第一步:pom.xml 文件中,打包方式需要修改成war     <packaging>war</packaging>     第二步:pom.xml 文件中,spring-boot-starter-web下需要移除自帶的tomcat <dependency>
相關文章
相關標籤/搜索