只能将springboot 内置的tomcat 进行版本降级
1、直接在pom.xml中覆盖默认的版本
同理 spring-web 需要降级的地方也要降级
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<version>2.6.6</version>
</dependency>
只能将springboot 内置的tomcat 进行版本降级
1、直接在pom.xml中覆盖默认的版本
同理 spring-web 需要降级的地方也要降级
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<version>2.6.6</version>
</dependency>