A bean with that name has already been defined and overriding is disabled.

The bean ‘web-service.FeignClientSpecification’ could not be registered. A bean with that name has already been defined and overriding is disabled.

web-service.FeignClientSpecification不能被注册,已定义具有该名称的bean,并且已禁用重写。
A bean with that name has already been defined and overriding is disabled._第1张图片
一个Feign远程调用只能被一个服务端调用一次,多个接口同时调用一个feign不被允许,根据提示我们在
yml文件中加

spring:
main:
allow-bean-definition-overriding: true
就能解决上述问题

你可能感兴趣的:(bug)