您的位置:首页 > 大数据 > 人工智能

No provider available for the service com.qingcheng.service

2020-02-02 10:27 3059 查看

nested exception is com.alibaba.dubbo.rpc.RpcException: Failed to invoke the method findAll in the service com.qingcheng.service.BrandService. No provider available for the service com.qingcheng.service.BrandService from registry 127.0.0.1:2181 on the consumer 192.168.136.102 using the dubbo version 2.6.0. Please check if the providers have been started and registered.

初次使用dubbo中出现的问题。

解决办法:

经过一番探讨,发现小编本地的服务没有问题,但是调用了消息推送的服务,这样一来就需要保证推送消息的服务和调用推送消息服务的客户端的接口路径一致,这样客户端才能找到消息的提供者。

  • 点赞
  • 收藏
  • 分享
  • 文章举报
tyeerth 发布了4 篇原创文章 · 获赞 0 · 访问量 60 私信 关注
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐