FeignClientSpecification', defined in null
来自ling
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
分析:
多个接口上的@FeignClient(“相同服务名”)会报错,overriding is disabled,即出现了相同的Bean名。
找出即可
@FeignClient(contextId = "remoteLogService", value = ServiceNameConstants.BASE_SERVICE)