<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> <-- 排除tomcat服务依赖 --> <exclusions> <exclusion> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-tomcat</artifactId> </exclusion> </exclusions> </dependency> <-- 引入undertow服务 --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-undertow</artifactId> </dependency> undertow服务启动开始
SpringBoot服务器Tomcat转换undertow服务器
最新推荐文章于 2023-02-05 18:03:25 发布