首页 > 编程语言 > 详细

Springcloud Eureka Could not autowire. No beans of 'DiscoveryClient' type found.

时间:2020-07-15 14:12:47      阅读:63      评论:0      收藏:0      [点我收藏+]

springcloud 使用eureka无法注入DiscoveryClient,可能因为是导包错误

技术分享图片

 

 导包情况

技术分享图片

 

 导入正确的DiscoveryClient即可自动注入

参考帖子:Could not autowire. No beans of  ‘DiscoveryClient‘  type found.

Springcloud Eureka Could not autowire. No beans of 'DiscoveryClient' type found.

原文:https://www.cnblogs.com/alphajuns/p/13304452.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!