No provider available from registry
程序员文章站
2022-07-15 14:28:50
...
No provider available from registry
注册中心127.0.0.1:2181中没有可用于消费者42.229.154.125上服务
No provider available from registry 127.0.0.1:2181 for service com.itheima.service.CheckItemService on consumer 42.229.154.125 use dubbo version 2.6.0, may be providers disabled or not registered ?
今天遇见这个问题,显示注册中心没有服务,看监控器也没有服务,仔细检查配置文件里面的配置是没有问题的,但是就运行有问题,
经过几个小时的奋斗终于发现一个不规范的地方,就是namespace 中有空格 把空格删除后就可以运行了
<mapper namespace=" com.itheima.dao.CheckgroupDao">
art.js/
大佬讲讲为什么????
推荐阅读
-
解决java.lang.IllegalStateException: No instances available for service-provider] with root cause java
-
Dubbo报错:no provider available for the service
-
异常处理com.alibaba.dubbo.rpc.RpcException: No provider available from registry 127.0.0.1:2181 for
-
RpcException: No provider available from registry
-
No provider available from registry
-
RpcException: No provider available from registry
-
com.alibaba.dubbo.rpc.RpcException: No provider available from
-
com.alibaba.dubbo.rpc.RpcException: No provider available from registry stable.zk.scsite.net:21异常解决
-
No provider available from registry 192.168.126.129:2181 for service com.jt.service.DubboUserServic
-
集成Nacos1.2.1和Dubbo2.7.6 消费者报错No provider available for the service xxx