在使用Gateway时碰到了一些问题
子项目pom依赖中并没有spring-boot-starter-web的配置,它提示让我移除,我猜想是其他依赖中包含了该配置
Ctrl+Alt+Shift+U打开依赖树,Ctrl+F找到spring-boot-starter-web并单击
可以看到spring-boot-starter-web来自于spring-cloud-starter-netflix-hystrix-dashboard
因此从子项目pom.xml中剔除该依赖即可
<dependency>
<groupId>