spring boot dubbo No provider available for the service

Posted 会游泳的小猪

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了spring boot dubbo No provider available for the service相关的知识,希望对你有一定的参考价值。

No provider available for the service seckill.com.seckilldubbo.service.UserService from the url zookeeper://127.0.0.1:2181/org.apache.dubbo.registry.RegistryService?application=seckill-web&dubbo=2.0.2&interface=seckill.com.seckilldubbo.service.UserService&lazy=false&methods=getUserById,register,validateLogin&owner=Jing&pid=4420&qos.enable=false&register.ip=xxx.xxx1&release=2.7.3&side=consumer&sticky=false&timestamp=1593574076957 to the consumer xxx.xxx use dubbo version 2.7.3

检查发现如下:

dubbo.scan.base-packages=seckill.com.seckilluser.service.impl  包的路径没有配置正确所导致

 

以上是关于spring boot dubbo No provider available for the service的主要内容,如果未能解决你的问题,请参考以下文章

Spring Boot 第七章 Spring Boot 集成 Dubbo

spring boot集成dubbo

4.Dubbo之dubbo-spring-boot-actuator

Spring Boot方式的Dubbo项目

dubbo && spring-boot-starter

spring boot 集成dubbo