使用boot内置tomcat无需启用spring-boot-starter-tomcat,外置war部署时启用依赖。

This commit is contained in:
thinkgem
2020-12-27 22:38:55 +08:00
parent eb340af57c
commit 129764925c

View File

@@ -61,12 +61,12 @@
<version>${project.parent.version}</version> <version>${project.parent.version}</version>
</dependency> --> </dependency> -->
<!-- Spring Boot --> <!-- Spring Boot Tomcat
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId> <artifactId>spring-boot-starter-tomcat</artifactId>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency> -->
<!-- 自定义jar依赖包演示 <!-- 自定义jar依赖包演示
<dependency> <dependency>