No provider available from registry xxxxx:xxx for service DubboService
在dubbo 服务调用的时候,报错,找不到服务提供者
问题:
- 在实现类方法上面 引入的@Service 是springboot 注解 import org.springframework.stereotype.Service 服务没有注册到dubbo 中
解决方案:将@Service 改为 @DubboService
- 在实现类中 同时实现了 Service 接口 和 Dubbo 接口,所以服务还是找不到
解决方案: 重新建一个实现类,实现DubboService 接口。