不会编程的火山灰的博客问题描述: 个人在写feign远程调用的时候,写完client接口后,需要在其他类使用@Autowired自动注入,但是一直出现爆红,大致报错意思就是提示(Could not autowire. There is more than one bean of ‘ xxx ‘ type....
悟空编程2016的博客1.报错信息 HandlerInterceptor引用FeignClient造成循环依赖 The dependencies of some of the beans in the application context form a cycle: ┌─────┐ | appAuthInterceptor defined in URL [jar:file:/...
JinziH Never Give Up的博客启动测试,在启动时会直接报错,因为UserClient现在在cn.itcast.feign.clients包下,而order-service的@EnableFeignClients注解是在cn.itcast.order包下,不在同一个包,无法扫描到UserClient。 解决方法:修改order...