

Bean named ‘feignClient’ is expected to be of type ‘com.imooc.ecommerce.service.communication.AuthorityFeignClient’ but was actually of type ‘org.springframework.cloud.openfeign.ribbon.LoadBalancerFeignClientEnhancerBySpringCGLIBEnhancerBySpringCGLIBEnhancerBySpringCGLIB75d3ef0f’
老师,请教下:
OpenFeign接口我通过@Autowired或构造方法 注入,容器启动成功,但是通过@Resource注入,容器启动失败,上面是报错信息,我不太明白