
Consider defining a bean of type ‘com.netflix.client.config.IClientConfig‘ in your configuration
如果在微服务中用远程调用的时候,出现空指针异常,建议参考方法2. 在微服务项目中,启动一个springboot项目时,报错信如下:
Description: Parameter 0 of method ribbonServerList in com.alibaba.cloud.nacos.ribbon.NacosRibbonClientConfiguration required a bean of type 'comflix.client.config.IClientConfig' that could not be found. Action: Consider defining a bean of type 'comflix.client.config.IClientConfig' in your configuration.下面说一下解决方法:
ps: 希望能对大家有帮助~
👁️ 阅读量:0
© 版权声明:本文《Consider defining a bean of type ‘com.netflix.client.config.IClientConfig‘ in your configuration》内容均为本站精心整理或网友自愿分享,如需转载请注明原文出处:https://www.zastudy.cn/wen/1686557102a291337.html。