Field feignDeptClientService in com.cloud.controller.DeptController
feign的初始话的时候的错误,显示service注入失败理论上来说只要在启动类上@SpringBootApplication@EnableFeignClients(basePackages = {"com.cloud"})//这个来骚描包//@ComponentScan("com.cloud")这个加了报错,但是有人说没事,我没试过public class SpringcloudConsumerDeptFeign8080Application { public static void
原创
2020-08-11 15:10:21 ·
2088 阅读 ·
0 评论