Dubbo-学习,黑马踩坑,Reference失效
Caused by: java.lang.IllegalStateException: Failed to check the status of the service dubbo.test.web.service.UserService. No provider available for the service dubbo.test.web.service.UserService from the url zookeeper://192.168.56.108:2181/org.apache.dubb
一直报错说没有找到服务提供者
但是服务提供者执行并没有报错
在网上搜了一下,发现是reference失效,所以采取配置文件注入的方式
-
提供者
-
消费者