当使用OpenFeign调用单个服务中多个接口会出现以下错误
***************************
APPLICATION FAILED TO START
***************************
Description:
The bean 'shop-goods.FeignClientSpecification' could not be registered. A bean with that name has already been defined and overriding is disabled.
Action:
Consider renaming one of the beans or enabling overriding by setting spring.main.allow-bean-definition-overriding=true
解决方案1:在yml配置
main:
allow-bean-definition-overriding: true