<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>

 

相关文章:

  • 2021-08-07
  • 2022-12-23
  • 2021-12-31
  • 2021-09-27
  • 2021-11-04
  • 2021-05-16
  • 2019-06-03
猜你喜欢
  • 2021-11-03
  • 2021-08-03
  • 2021-11-28
  • 2021-08-29
  • 2022-12-23
相关资源
相似解决方案