Feign容错,类实现implements FallbackFactory 接口,服务调用报错
Incompatible fallbackFactory instance. Fallback/fallbackFactory of type class XXX
解决方法:
检查包引用
要引用
import feign.hystrix.FallbackFactory;
而不是
import org.springframework.cloud.openfeign.FallbackFactory;