Tag Archives: ‘xx.FeignClientSpecification’

[Solved] Feign Error: ‘xx.FeignClientSpecification’, defined in null, could not be registered.

The reason is that one spring boot cannot allow two feign clients, which should be configured in application.yml

spring:

  main:
    allow-bean-definition-overriding: true

In addition, the settings for package scanning should be set correctly, otherwise an error will be reported if the feign client of the corresponding package is not found