REM:
1. 移除使用tomcat,增加xnio-nio依赖,解决undertow在服务器上无法启动问题
This commit is contained in:
HuangXin 2020-08-12 15:33:16 +08:00
parent aeda69fdb9
commit e3da4a6e0b
1 changed files with 7 additions and 9 deletions

16
pom.xml
View File

@ -41,15 +41,13 @@
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-core</artifactId>
<exclusions>
<exclusion>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-annotations-api</artifactId>
</exclusion>
</exclusions>
<version>9.0.37</version>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-undertow</artifactId>
</dependency>
<dependency>
<groupId>org.jboss.xnio</groupId>
<artifactId>xnio-nio</artifactId>
<version>3.8.1.Final</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>