2020
10-08
10-08
springboot2.3.1替换为其他的嵌入式servlet容器的详细方法
现阶段,springboot内嵌了Tomcat服务器,如果你不想使用Tomcat,springboot也是支持其他的服务器切换的。如果你想了解底层springboot所支持的服务器你可以使用idea的快捷键快速按两次shift查询一个ServerProperties的类,通过这个类你可以知道你想要了解的情况:springboot里面支持的服务器有Jetty、Netty…等等,大家有兴趣的话可以百度一下。接着通过在pom文件的视图依赖分析可以得知:springboot里面的Tomcat是在spring-boot-s...
继续阅读 >