Description:

The bean 'exmafilm.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

出现以上报错时,可在配置文件中添加如下配置

#当出现相同名字的类进行注册时,准许覆盖注册
spring:
  main:
    allow-bean-definition-overriding: true

更多推荐

解决:Consider renaming one of the beans or enabling overriding by setting spring