springcloud整合feign和springcloudalibaba发现启动不了项目
1.检查是否引入了gateway-starter,将其去掉。
2.再检查是否引入了spring-boot-starter-web
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency>
如果没有引入,将其引入,即可
springcloud整合feign和springcloudalibaba发现启动不了项目
1.检查是否引入了gateway-starter,将其去掉。
2.再检查是否引入了spring-boot-starter-web
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency>
如果没有引入,将其引入,即可