
关于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。
👁️ 阅读量:0
© 版权声明:本文《关于springCloud 配置Consider defining a bean of type 'xxx' in your configuration错误》内容均为本站精心整理或网友自愿分享,如需转载请注明原文出处:https://www.zastudy.cn/wen/1686552036a289802.html。