Skip to content

Commit 78810af

Browse files
author
曾梓健
committed
切换servlet容器
1 parent 3702c15 commit 78810af

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

myTest/pom.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,17 @@
2020
<dependency>
2121
<groupId>org.springframework.boot</groupId>
2222
<artifactId>spring-boot-starter-web</artifactId>
23+
<exclusions>
24+
<exclusion>
25+
<!--移除spring-boot-starter-web中的tomcat依赖-->
26+
<groupId>org.springframework.boot</groupId>
27+
<artifactId>spring-boot-starter-tomcat</artifactId>
28+
</exclusion>
29+
</exclusions>
30+
</dependency>
31+
<dependency>
32+
<groupId>org.springframework.boot</groupId>
33+
<artifactId>spring-boot-starter-jetty</artifactId>
2334
</dependency>
2435

2536
<dependency>

0 commit comments

Comments
 (0)