Java 项目中Spring Cloud组件中Feign,使用异常,提示如下
The bean 'service.FeignClientSpecification' could not be registered. A bean with that name has already been defined and overriding is disabled
解决方案
可以在配置文件中,添加如下配置
spring: main: allow-bean-definition-overriding: true