<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0" title="http://maven.apache.org/POM/4.0.0" ...
gateway是基于webflux的,并非基于spring-web,我记得在依赖里面排除一下spring-web就可以
你遇到了一个关于 Spring Boot 项目的依赖冲突问题。根据你提供的信息,这个冲突可能是由于 "spring-cloud-starter-gateway" 和 "Spring-boot-start-web" 两个依赖之间发生的。
要解决这个问题,有几个方法可以尝试:
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0" title="http://maven.apache.org/POM/4.0.0" ...
gateway是基于webflux的,并非基于spring-web,我记得在依赖里面排除一下spring-web就可以
你遇到了一个关于 Spring Boot 项目的依赖冲突问题。根据你提供的信息,这个冲突可能是由于 "spring-cloud-starter-gateway" 和 "Spring-boot-start-web" 两个依赖之间发生的。
要解决这个问题,有几个方法可以尝试: