• 首先要确定在启动类上是否添加了@EnableFeignClients注解,并且需要配置上Feign客户端接口的包,@EnableFeignClients(basePackages = “com.yore.product.client”)

 

  • 其次确定这两个服务引用的Feign包是否一致,若客户端服务可能是org.springframework.cloud.netflix.feign.FeignClient这个包下的,另一个服务端服务中引用的是org.springframework.cloud.openfeign.FeignClient包下的,这时也会出现这个错误。

 

相关文章:

  • 2021-10-28
  • 2022-12-23
  • 2021-10-16
  • 2021-12-11
  • 2022-12-23
  • 2022-12-23
  • 2021-07-04
  • 2021-11-28
猜你喜欢
  • 2021-11-14
  • 2021-12-12
  • 2021-08-04
  • 2022-12-23
  • 2021-08-10
  • 2022-12-23
  • 2021-07-23
相关资源
相似解决方案