SpingBoot項目單獨使用Tomcat容器發佈

1、修改項目打包方式,pom.xml中指定爲warweb <packaging>war</packaging> 2、移除內嵌Tomcat 方式1:spring <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> <!
相關文章
相關標籤/搜索