No provider available for the service

 question:  No provider available for the service.... Please check if the providers have been started and registered....

(提供者、消费者之间端口通信问题)

reason: no provider(服务异常,未启动或者启动报错)

answer1: 配置中心不一致

mybatis.config-location = classpath:mybatis-config.xml
mybatis.mapper-locations = classpath:mapper/*Mapper.xml
dubbo.appName = abc-provider
dubbo.zookeeper.protocol = zookeeper
dubbo.zookeeper.addr = 192.168.1.123:2181

answer2: 

猜你喜欢

转载自blog.csdn.net/aizenright001/article/details/82463282
今日推荐