Dubbo错误:No provider available for the service
2017-10-28 09:53
1021 查看
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
相关文章推荐
- 【Dubbo】no provider available for the service错误解决方案
- Dubbo错误No provider available for the service
- 有时候出现No provider available for the service dubbo错误
- dubbo+zookeeper与提供者、消费者之间端口通信问题(No provider available for the service)
- dubbo+zookeeper与提供者、消费者之间端口通信问题(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官方demo 消费者报错:No provider available for the service
- dubbo+zookeeper与提供者、消费者之间端口通信问题(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异常:Failed to check the status of the service . No provider available for the service 解决
- Failed to check the status of the service. No provider available for the service【已解决】
- dubbo+zookeeper与提供者、消费者之间端口通信问题(No provider available for the service)
- The POM for XXX:jar:${com.ld.base.service.version} is missing, no dependency information available
- No provider available from registry 127.0.0.1:2181 for service com.focussend.email.service.EdmTaskS
- "No provider for smtp"错误的处理