No provider available for the service xxx from the url zookeeper://134.175.155.125:2181
解决方法:
启动消费者时报错如下:
Caused by: java.lang.IllegalStateException: Failed to check the status of the service com.example.dubbocclient.ProviderService. No provider available for the service com.example.dubbocclient.ProviderService from the url zookeeper://134.175.155.125:2181/org.apache.dubbo.registry.RegistryService?application=service-consumer&dubbo=2.0.2&interface=com.example.dubbocclient.ProviderService&lazy=false&methods=add,get,upd,del&pid=12024&qos.enable=false®ister.ip=10.17.48.131&release=2.7.3&side=consumer&sticky=false×tamp=1615341536236 to the consumer 10.17.48.131 use dubbo version 2.7.3
后来发现消费者的调用接口@Reference必须要和服务提供者的接口包的路径一致才行