Springcloud Eureka Could not autowire. No beans of 'DiscoveryClient' type found.
时间:2020-07-15 15:18:46
收藏:0
阅读:79
springcloud 使用eureka无法注入DiscoveryClient,可能因为是导包错误
导包情况
导入正确的DiscoveryClient即可自动注入
参考帖子:Could not autowire. No beans of ‘DiscoveryClient‘ type found.
评论(0)