SpringCloud 服务feign调用问题


Description:

The bean xxx.FeignClientSpecification', defined in null, could not be registered. A bean with that name has already been defined in null and overriding is disabled.

Action:

Consider renaming one of the beans or enabling overriding by setting spring.main.allow-bean-definition-overriding=true

解决办法:

Feign的注册,有同名的feign的名字重复注册,相同的name也就是跨服务调用,同一个服务的接口,不能分散的写在多个接口类中,要放到同一个借口类中定义调用。


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM