zookeeper注册成功,订阅成功,但是却说服务没有提供者。
Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'SayHelloTo': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalStateException: Failed to check the status of the service com.huatai.usercenter.api.test.SayHelloToClient. No provider available for the service com.huatai.usercenter.api.test.SayHelloToClient from the url zookeeper://localhost:2181/com.alibaba.dubbo.registry.RegistryService?application=hehe_consumer&dubbo=2.8.4&interface=com.huatai.usercenter.api.test.SayHelloToClient&methods=sayHello&pid=4572&revision=0.0.1-SNAPSHOT&side=consumer×tamp=1490171679141 to the consumer 160.6.70.215 use dubbo version 2.8.4
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:151)
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:103)
at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1514)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:252)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195)
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:973)
at com.test.Consumer.main(Consumer.java:81)
Caused by: java.lang.IllegalStateException: Failed to check the status of the service com.huatai.usercenter.api.test.SayHelloToClient. No provider available for the service com.huatai.usercenter.api.test.SayHelloToClient from the url zookeeper://localhost:2181/com.alibaba.dubbo.registry.RegistryService?application=hehe_consumer&dubbo=2.8.4&interface=com.huatai.usercenter.api.test.SayHelloToClient&methods=sayHello&pid=4572&revision=0.0.1-SNAPSHOT&side=consumer×tamp=1490171679141 to the consumer 160.6.70.215 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.ReferenceBean.getObject(ReferenceBean.java:65)
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:144)
... 6 more
No provider available for the service
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 邀请回答
-
3条回答 默认 最新
悬赏问题
- ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
- ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
- ¥20 有关区间dp的问题求解
- ¥15 多电路系统共用电源的串扰问题
- ¥15 slam rangenet++配置
- ¥15 有没有研究水声通信方面的帮我改俩matlab代码
- ¥15 ubuntu子系统密码忘记
- ¥15 保护模式-系统加载-段寄存器
- ¥15 电脑桌面设定一个区域禁止鼠标操作
- ¥15 求NPF226060磁芯的详细资料