springboot使用undertow代替tomcat
作者:
树荫下的天空 | 来源:发表于
2018-12-03 16:05 被阅读20次
springboot 使用undertow代替tomcat
- 排除自带的tomcat
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<exclusions>
<exclusion>
<artifactId>spring-boot-starter-tomcat</artifactId>
<groupId>org.springframework.boot</groupId>
</exclusion>
</exclusions>
</dependency>
- 引入undertow
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-undertow</artifactId>
</dependency>
本文标题:springboot使用undertow代替tomcat
本文链接:https://www.haomeiwen.com/subject/wigycqtx.html
网友评论