网站介绍:文章浏览阅读1.6w次。“Field discoveryClient in (报错的类名) required a bean of type ‘com.netflix.discovery.DiscoveryClient’ that could not be found.”原因:Discovery的包有两个,导错了。解决:删除之前错误的包,导入这个org.springframework.cloud.client.disc...
- 链接地址:https://blog.csdn.net/weixin_43649997/article/details/105729883
- 链接标题:成功解决:com.netflix.discovery.DiscoveryClient没有找到错误(使用spring cloud框架)解决方案,建议看看-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:8829
- 网站标签:成功解决:com.netflix.discovery.DiscoveryClient没有找到错误(使用spring cloud框架)解决方案,建议看看