首页 > 其他分享> > openFeign 远程调用失败 No Feign Client for loadBalancing defined.Did you forget to include spring-cloud-st
openFeign 远程调用失败 No Feign Client for loadBalancing defined.Did you forget to include spring-cloud-st
作者:互联网
openFeign 远程调用失败,提示 “No Feign Client for loadBalancing defined.Did you forget to include spring-cloud-starter-loadbalance”
https://blog.csdn.net/qq_43416157/article/details/114318283
<dependency> <groupId>com.alibaba.cloud</groupId> <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId> <exclusions> <exclusion> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-netflix-ribbon</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-loadbalancer</artifactId> <version>2.2.1.RELEASE</version> </dependency>
标签:Feign,forget,openFeign,No,defined,spring,starter,cloud 来源: https://www.cnblogs.com/CyLee/p/15126195.html