Exception in thread "main" java.lang.IllegalStateException: Failed to check the status of the service com.******. No provider available for the service com.***.IProxyCertApi:1.0 from the url zookeeper://10.8.*.*:2181/com.alibaba.dubbo.registry.RegistryService?application=stressTest&dubbo=2.6.0&generic=true&interface=com.*****&pid=13228&protocol=dubbo®ister.ip=172.30.2.66&side=consumer×tamp=1565836380313&version=1.0 to the consumer 172.30.2.66 use dubbo version 2.6.0
at com.alibaba.dubbo.config.ReferenceConfig.createProxy(ReferenceConfig.java:422)
at com.alibaba.dubbo.config.ReferenceConfig.init(ReferenceConfig.java:333)
at com.alibaba.dubbo.config.ReferenceConfig.get(ReferenceConfig.java:163)
at DubboRegistryConfig.initRequest(DubboRegistryConfig.java:55)
at DubboRegistryConfig.initRequest(DubboRegistryConfig.java:31)
有的dubbo服务分了group,
<dubbo:registry id="***" protocol="zookeeper" address="${base-dubbo.registry.address}" client="${base-dubbo.registry.client}" group="${base-dubbo.group}"/>
测试接口时需要在注册时加上group
原文地址:https://www.cnblogs.com/meadow/p/11356496.html