首页 > 编程语言 > 详细

SpringBoot使用其他的Servlet容器

时间:2019-01-29 21:12:00      阅读:152      评论:0      收藏:0      [点我收藏+]
 1         <dependency>
 2             <groupId>org.springframework.boot</groupId>
 3             <artifactId>spring-boot-starter-web</artifactId>
 4             <!--在Web模块中排除默认的Tomcat-->
 5             <exclusions>
 6                 <exclusion>
 7                     <groupId>org.springframework.boot</groupId>
 8                     <artifactId>spring-boot-starter-tomcat</artifactId>
 9                 </exclusion>
10             </exclusions>
11         </dependency>
12 
13         <!--引入其他的servlet容器-->
14         <dependency>
15             <groupId>org.springframework.boot</groupId>
16             <artifactId>spring-boot-starter-jetty</artifactId>
17         </dependency>

 

SpringBoot使用其他的Servlet容器

原文:https://www.cnblogs.com/fanqisoft/p/10335807.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!