摘要: 在上篇文章中,我们使用了@LoadBalanced //开启负载均衡大大简化了远程调用时的代码: String forEntity = restTemplate.getForObject("http://provider/test/hello", String.class); 1.简介 Feign可 阅读全文
posted @ 2022-03-12 22:44 创嗨 阅读(742) 评论(0) 推荐(0) 编辑
摘要: 使用feigin的启动类没有加feign的注解@EnableFeignClients Description: A component required a bean of type 'com.xiu.consumer.feign.HelloFeign' that could not be foun 阅读全文
posted @ 2022-03-12 15:15 创嗨 阅读(584) 评论(0) 推荐(0) 编辑