No Feign Client for loadBalancing defined. Did you forget to include spring-cloud-starter-loadbalanc

SpringCloud OpenFeign报错

No Feign Client for loadBalancing defined. Did you forget to include spring-cloud-starter-loadbalancer

问题原因: 今天的疑惑报错,我大意了啊,没有闪。使用Spring Initializr初始化项目引入了openfeign,没有在意版本。直到运行项目进行远程调用时报错
No Feign Client for loadBalancing defined. Did you forget to include spring-cloud-starter-loadbalancer?

有人问我,马老师发生什么事了。我一看 噢 解决方法:

上网一番查阅资料后发现:

由于SpringCloud Feign在Hoxton.M2 RELEASED版本

No Feign Client for loadBalancing defined. Did you forget to include spring-cloud-starter-loadbalanc最先出现在Python成神之路

版权声明:
作者:Mr李
链接:https://www.techfm.club/p/26927.html
来源:TechFM
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
< <上一篇
下一篇>>