Gateway启动报错

来源:7-14 验证网关微服务功能可用性

HappyJohn

2021-11-09


http://img.mukewang.com/szimg/618a3da309e3bcfe38402125.jpg

提示:Spring MVC found on classpath, which is incompatible with Spring Cloud Gateway at this time. Please remove spring-boot-starter-web dependency.
百度解决办法都是说引入的依赖冲突

写回答

1回答

张勤一

2021-11-10

同学你好:

    gateway 里面不能依赖 spring-boot-starter-web,可以看看我是怎么配置 pom 的。

1
0

Spring Cloud / Alibaba 微服务架构实战

从架构设计到开发实践,手把手实现

1210 学习 · 674 问题

查看课程