The bean '10005-9509-cqp-oms-gdysxt.FeignClientSpecification' could not be registered.
SpringCloud整合Feign报错:
Description:
The bean 'spring-feign-provider.FeignClientSpecification', defined in null, could not be registered. A bean with that name has already been defined in null and overriding is disabled.
原因:
在多个接口上定义@FeignClient(name = 相同的名字),有相同名字的Feign注册会导致重复注册。
一、解决办法:
在调用者服务中的配置文件中:application.properties/application.yml
写: