项目场景:
接手一个基于SSM + Dubbo + zookeeper 架构的项目
问题描述:
[DUBBO] Got unchecked and undeclared exception which called by 192.168.101.37. service: AAA, method: listChild, exception: org.apache.dubbo.rpc.RpcException: No provider available from registry 127.0.0.1:2181 for service XXX on consumer 192.168.101.37 use dubbo version 2.7.1, please check status of providers(disabled, not registered or in blacklist)., dubbo version: 2.7.1, current host: 192.168.101.37
org.apache.dubbo.rpc.RpcException: No provider available from registry 127.0.0.1:2181 for service AAA on consumer 192.168.101.37 use dubbo version 2.7.1, please check status of providers(disabled, not registered or in blacklist).
原因分析:
AAA服务没起来
解决方案:
把AAA服务起起来即可。 根据日志解决问题。