启动course-edge-service报错
来源:3-13 开发课程EdgeService
慕粉1462372119
2018-06-25
报错信息如下:
[DUBBO] Failed to init remote service reference at filed courseService in class com.imooc.course.controller.CourseController, cause: Failed to check the status of the service com.imooc.course.service.ICourseService. No provider available for the service com.imooc.course.service.ICourseService from the url zookeeper://192.168.205.10:2181/com.alibaba.dubbo.registry.RegistryService?application=course-service&dubbo=2.5.3&interface=com.imooc.course.service.ICourseService&methods=courseList&pid=6000&side=consumer×tamp=1529916851081 to the consumer 192.168.56.1 use dubbo version 2.5.3, dubbo version: 2.5.3, current host: 192.168.56.1
course-edge-service配置如下:
course-dubbo-service配置如下:
docker装在centos虚拟机里,docker容器运行状态如下图:
2回答
-
这个错误是说dubbo服务端没有正常提供服务。需要先启动course-dubbo-service,然后看看启动日志是否正常。telnet一下端口看看是否可以连通
052018-07-02 -
慕粉1462372119
提问者
2018-07-02
已解决,course-dubbo-service里的@service注解引错包了
00
相似问题