Dubbo错误:No provider available for the service
来源:互联网 发布:英国海淘鞋子 知乎 编辑:程序博客网 时间:2024/06/04 19:16
Dubbo错误:No provider available for the service
错误信息:
Caused by:java.lang.IllegalStateException: Failed to check the status of the service com.itheima.UserService. No provider available for the service com.itheima.UserService from the url zookeeper://192.168.40.134:2181/com.alibaba.dubbo.registry.RegistryService?anyhost=true&application=dubbox-web&check=false&dubbo=2.8.4&generic=false&interface=com.itheima.UserService&methods=name&pid=5400&side=consumer×tamp=1509027241597 to the consumer 10.254.9.113 use dubbo version 2.8.4 at com.alibaba.dubbo.config.ReferenceConfig.createProxy(ReferenceConfig.java:420) at com.alibaba.dubbo.config.ReferenceConfig.init(ReferenceConfig.java:300) at com.alibaba.dubbo.config.ReferenceConfig.get(ReferenceConfig.java:138) at com.alibaba.dubbo.config.spring.AnnotationBean.refer(AnnotationBean.java:317)
解决方法:
dubbo监控中心:/tomcat/webapps/dubbo-admin/WEB-INF/dubbo.properties一、修改dubbo.properties配置文件: 添加一行截图如下: 二、修改Dubbo服务端spring配置文件中dubbo发布信息: <dubbo:protocol name="dubbo" port="20880" host="同上主机IP地址"/>三、在Dubbo消费端spring配置文件dubbo消费信息中,添加如下一行: <dubbo:protocol host="同上主机IP地址"/>最后重启Dubbo监控中心、停止消费者端,停止服务提供端,启动服务提供端,再启动消费者端。去监控中心刷新看看,是不是一切都正常了!
[原文出处]:http://blog.csdn.net/chwshuang/article/details/51334180
阅读全文
0 0
- Dubbo错误No provider available for the service
- 有时候出现No provider available for the service dubbo错误
- Dubbo错误:No provider available for the service
- 【Dubbo】no provider available for the service错误解决方案
- Dubbo:No provider available for the service
- Dubbo中No provider available for the service异常
- dubbo实战---No provider available for the service
- dubbo没有服务提供者错误 No provider available for the service
- Dubbo: Failed to check the status of the service . No provider available for the service
- Dubbo client 启动报错:No provider available for the service use dubbo version 2.5.3
- dubbo启动消费者报错:No provider available for the service
- dubbo+zookeeper与提供者、消费者之间端口通信问题(No provider available for the service)
- Dubbo学习笔记:No provider available for the service ...异常问题的解决
- dubbo异常:Failed to check the status of the service . No provider available for the service 解决
- dubbo异常:Failed to check the status of the service . No provider available for the service 解决
- No provider available from registry 127.0.0.1:2181 for service com.focussend.email.service.EdmTaskS
- 关于Failed to check the status of the service com.taotao.service.ItemService. No provider available fo
- "No provider for smtp"错误的处理
- python基础-02-基本数据类型
- 串口(流数据)协议封装,拆包解析
- 分组查询
- 2017年10月26日 第十七次总结
- JMeter测试WEB性能入门
- Dubbo错误:No provider available for the service
- 2016直播生态圈:一边繁华一边悬崖
- 公开叫板亚马逊 AWS,甲骨文云计算到底哪儿来的自信
- 曼塔S6配件新添一员:遥控器R6来袭
- 苹果欲以 15 亿美元收购超跑制造商迈凯伦
- 三星Galaxy Note7爆炸,苹果成最大赢家
- 聚焦4G、双沃突破——vivo与中国联通聚焦139城市专项工作启动
- python应用系列教程——python使用smtp上传邮件,使用pop3下载邮件
- iOS瘦身之路(上)