Spring boot 默認使用Tomcat 內嵌容器。依賴於 spring-boot-starter-web 。我們只需要排除Tomcat 依賴。引用Undertow 就可以了, maven 配置如下:
確定! 回上一頁