会员可以在此提问,百战程序员老师有问必答
对大家有帮助的问答会被标记为“推荐”
看完课程过来浏览一下别人提的问题,会帮你学得更全面
截止目前,同学们一共提了 134111个问题
Python全系列/第一阶段:AI驱动的Python编程/控制语句 36753楼
JAVA 全系列/第二阶段:JAVA 基础深化和提高/IO 流技术(旧) 36754楼
Python全系列/第一阶段:AI驱动的Python编程/函数和内存分析 36755楼
JAVA 全系列/第二阶段:JAVA 基础深化和提高/容器(旧) 36757楼
JAVA 全系列/第二阶段:JAVA 基础深化和提高/多线程技术(旧) 36759楼
Python全系列/第一阶段:AI驱动的Python编程/函数和内存分析 36762楼
JAVA 全系列/第二阶段:JAVA 基础深化和提高/手写服务器项目(旧) 36763楼

1、老师您好,部署consumer时,运行tomcat7:run 报错如下。详细错误在附件里。老师帮忙给看下吧。百度好久没有答案。

完整错误.txt




严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userServiceImpl': Injection of autowired dependencies failed;
 nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.bjsxt.dubbo.service.AddUserDubboService com.bjsxt.service.impl.UserServiceImpl.addUserDubboService;
 nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'addUserDubboService': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalStateException:
 Failed to check the status of the service com.bjsxt.dubbo.service.AddUserDubboService. No provider available for the service com.bjsxt.dubbo.service.AddUserDubboService from the url zookeeper://192.168.243.128:2181/com.alibaba.dubbo.registry.RegistryService?anyhost=true&application=myconsumer1111&check=false&dubbo=2.5.4&generic=false&interface=com.bjsxt.dubbo.service.AddUserDubboService&methods=addUser&pid=792&revision=0.0.1-SNAPSHOT&side=consumer&timeout=300000&timestamp=1565435252238 to the consumer 192.168.243.1 use dubbo version 2.5.4
   
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.bjsxt.dubbo.service.AddUserDubboService com.bjsxt.service.impl.UserServiceImpl.addUserDubboService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'addUserDubboService': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalStateException: Failed to check the status of the service com.bjsxt.dubbo.service.AddUserDubboService. No provider available for the service com.bjsxt.dubbo.service.AddUserDubboService from the url zookeeper://192.168.243.128:2181/com.alibaba.dubbo.registry.RegistryService?anyhost=true&application=myconsumer1111&check=false&dubbo=2.5.4&generic=false&interface=com.bjsxt.dubbo.service.AddUserDubboService&methods=addUser&pid=792&revision=0.0.1-SNAPSHOT&side=consumer&timeout=300000&timestamp=1565435252238 to the consumer 192.168.243.1 use dubbo version 2.5.4
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'addUserDubboService': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalStateException: Failed to check the status of the service com.bjsxt.dubbo.service.AddUserDubboService. No provider available for the service com.bjsxt.dubbo.service.AddUserDubboService from the url zookeeper://192.168.243.128:2181/com.alibaba.dubbo.registry.RegistryService?anyhost=true&application=myconsumer1111&check=false&dubbo=2.5.4&generic=false&interface=com.bjsxt.dubbo.service.AddUserDubboService&methods=addUser&pid=792&revision=0.0.1-SNAPSHOT&side=consumer&timeout=300000&timestamp=1565435252238 to the consumer 192.168.243.1 use dubbo version 2.5.4
Caused by: java.lang.IllegalStateException: Failed to check the status of the service com.bjsxt.dubbo.service.AddUserDubboService. No provider available for the service com.bjsxt.dubbo.service.AddUserDubboService from the url zookeeper://192.168.243.128:2181/com.alibaba.dubbo.registry.RegistryService?anyhost=true&application=myconsumer1111&check=false&dubbo=2.5.4&generic=false&interface=com.bjsxt.dubbo.service.AddUserDubboService&methods=addUser&pid=792&revision=0.0.1-SNAPSHOT&side=consumer&timeout=300000&timestamp=1565435252238 to the consumer 192.168.243.1 use dubbo version 2.5.4
   

JAVA 全系列/(旧的隐藏)第七阶段:JAVA 高级技术/Dubbo 36765楼

课程分类

百战程序员微信公众号

百战程序员微信小程序

©2014-2025百战汇智(北京)科技有限公司 All Rights Reserved 北京亦庄经济开发区科创十四街 赛蒂国际工业园
网站维护:百战汇智(北京)科技有限公司
京公网安备 11011402011233号    京ICP备18060230号-3    营业执照    经营许可证:京B2-20212637