IDEA运行项目报错——“No such any registry to refer service in consumer x.x.x.x use dubbo“

IDEA运行项目报错——“No such any registry to refer service in consumer x.x.x.x use dubbo“,第1张

IDEA运行项目报错——“No such any registry to refer service in consumer x.x.x.x use dubbo“

IDEA运行项目报错——"No such any registry to refer service in consumer x.x.x.x use dubbo"

1.问题截图2.问题解决

1.问题截图


报错

15:35:02,239 ERROR Logger:225 -  [DUBBO] Failed to init remote service reference at filed checkItemService in class com.xyxy.controller.CheckItemController, cause: No such any registry to refer service in consumer 192.168.91.1 use dubbo version 2.6.0, Please add  to your spring config. If you want unregister, please set , dubbo version: 2.6.0, current host: 192.168.91.1
java.lang.IllegalStateException: No such any registry to refer service in consumer 192.168.91.1 use dubbo version 2.6.0, Please add  to your spring config. If you want unregister, please set 
2.问题解决

在项目相应的pom文件里面添加依赖

 
            org.apache.dubbo
            dubbo-spring-boot-starter
            2.7.8

亲测有效

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/zaji/5705379.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-12-17
下一篇 2022-12-17

发表评论

登录后才能评论

评论列表(0条)

保存