No provider available for the service com.gsh56.demo.service.api.HelloService

#23 · open · 0 comments

View on GitHub ↗

herist

服务端注册看上去正常 ![image](https://user-images.githubusercontent.com/3771334/65532685-d9f96280-df2e-11e9-88fa-21a4908964f1.png) 消费端初始化出错 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'demoAppApplication.TestController': Injection of @org.apache.dubbo.config.annotation.Reference dependencies is failed; nested exception is java.lang.IllegalStateException: Failed to check the status of the service com.gsh56.demo.service.api.HelloService. No provider available for the service com.gsh56.demo.service.api.HelloService from the url spring-cloud://localhost:9090/org.apache.dubbo.registry.RegistryService?application=demo-app&default.lazy=false&default.sticky=false&dubbo=2.0.2&interface=com.gsh56.demo.service.api.HelloService&lazy=false&methods=hello&pid=12640&register.ip=192.168.90.35&release=2.7.1&side=consumer&sticky=false&timestamp=1569343527514 to the consumer 192.168.90.35 use dubbo version 2.7.1

Comments