springboot項目打成war包步驟以及報錯點

springboot項目由於其有內嵌得tomcat(還包括 jetty等)因此打包得時候要排除內置得tomcathtml 具體步驟web 1.pom.xml文件中添加打包格式:spring 在project標籤下添加apache <packaging>war</packaging> 2.排除內置tomcat 或者設置成providertomcat 1>springboot <dependency>
相關文章
相關標籤/搜索