1、如图所示:
2、解决方案:
2.1:删除对应的依赖jar包;
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<version>3.1.2</version>
</dependency>
2.2:在pom.xml文件中引用其他子工程时,排除该【spring-boot-starter-web】依赖包;
2.3:如图所示:在gateway网关中进行排除


发布评论