admin管理员组文章数量:1794759
关于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 它有一个心跳机制,等90秒后会刷新,变为server2。
本文标签: 错误beantypeSpringClouddefining
版权声明:本文标题:关于springCloud 配置Consider defining a bean of type 'xxx' in your configuration错误 内容由林淑君副主任自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.xiehuijuan.com/baike/1686551818a80968.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论