Failed to check the status of the service com.sharearn.dubbo.romote.TestService.

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'testService': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalStateException: Failed to check the status of the service com.sharearn.dubbo.romote.TestService. No provider available for the service com.sharearn.dubbo.romote.TestService from the url zookeeper://127.0.0.1:2181/com.alibaba.dubbo.registry.RegistryService?application=dubbo-consumer&dubbo=2.5.3&interface=com.sharearn.dubbo.romote.TestService&methods=sayHello&owner=dubbo-consumer&pid=45812&side=consumer&timestamp=1528077361618 to the consumer 192.168.85.1 use dubbo version 2.5.3

启动dubbo中的消费端时出现错误:

原因其实是因为配置dubbo:reference;接口的路径写错,造成的问题

解决方法是在添加check = false 属性,这样就会再启动项目的时候进行检查,dubbo的消费端的项目可以正常启动.但是没有根本解决问题.


posted @   搬砖的孟达  阅读(38)  评论(0编辑  收藏  举报  
相关博文:
阅读排行:
· 分享4款.NET开源、免费、实用的商城系统
· 全程不用写代码,我用AI程序员写了一个飞机大战
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
点击右上角即可分享
微信分享提示