关于springCloud 配置Consider defining a bean of type 'xxx' in your configuration错误
SpringCloud 配置可用区与区域 Consider defining a bean of type ‘org.springframework.web.client.RestTemplate’ in your configuration 错误
RestTemplate注入失败
解决办法,在feign启动类中加入下面红色的代码
可用区与区域功能,如果关闭了server1 它有一个心跳机制...
原创
2019-09-12 17:01:44 ·
1242 阅读 ·
0 评论