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 @ 2023-07-23 16:18  搬砖的孟达  阅读(44)  评论(0)    收藏  举报  来源