Spring Boot @Component未被实例化
在实现类里面增加了@Component但是在启动服务是任然报错Caused by: java.lang.IllegalStateException: No fallback instance of type class xxx found for feign client yyy解决办法在Spring boot 的启动类里面增加@ComponentScan(“com.*”) 就完美解决问题了...
原创
2021-05-29 21:40:43 ·
625 阅读 ·
0 评论