Tag Archives: The bean ‘XXX.FeignClientSpecification’

[Solved] Feign Call Error: The bean ‘XXX.FeignClientSpecification’, defined in null, could not be registered….

Problem Description:

Two remote call classes are created, one is to call refund and the other is to call discount

But the two calling classes are the same microservice called

All called @feignclient (value = “XXX shop”)

How to solve it: the interfaces of the same service should not be written in multiple interface classes, but be placed in the same interface class to define calls