一只咔嚓鹿 2021-09-24 16:52 采纳率: 70%
浏览 46
已结题

svn拉取的代码运行不了,为啥啊

16:38:14.487 logback [main] INFO o.a.d.c.s.b.f.a.ReferenceAnnotationBeanPostProcessor - class org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceAnnotationBeanPostProcessor was destroying!
16:38:14.492 logback [main] INFO o.a.catalina.core.StandardService - Stopping service [Tomcat]
16:38:14.537 logback [main] ERROR o.s.boot.SpringApplication - Application run failed
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'courseCustomerController' defined in file [C:\Users\Administrator\WaimsProject\customer_manager\manager-admin\target\classes\com\waims\controller\web\CourseCustomerController.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'courseCustomerServiceImpl': Injection of @Reference dependencies is failed; nested exception is java.lang.IllegalStateException: Failed to check the status of the service com.waims.network.training.service.CourseApplyBaseInfoService. No provider available for the service com.waims.network.training.service.CourseApplyBaseInfoService from the url nacos://47.104.147.26:8848/org.apache.dubbo.registry.RegistryService?anyhost=true&application=manager-admin&category=providers&check=false&deprecated=false&dubbo=2.0.2&dynamic=true&generic=false&init=false&interface=com.waims.network.training.service.CourseApplyBaseInfoService&methods=add,getById,get,getIdByIdentification,update,getByApplyAndCourse,delete,getCount,getCountByApplyAndCourse&path=com.waims.network.training.service.CourseApplyBaseInfoService&pid=6608&protocol=dubbo&qos.enable=false&register.ip=192.168.1.152&release=2.7.5&remote.application=training&revision=0.0.1-SNAPSHOT&side=consumer&sticky=false&timestamp=1632472689462 to the consumer 192.168.1.152 use dubbo version 2.7.5
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:769)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:218)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1341)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1187)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320)
at org.springframework.beans.factory.support.AbstractBeanFactory$$Lambda$160/1330247343.getObject(Unknown Source)

  • 写回答

1条回答 默认 最新

  • blurred❀ 2021-09-24 17:00
    关注

    Bean装载时失败了,可以去courseCustomerController里面看看是否有问题

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

问题事件

  • 已结题 (查看结题原因) 9月28日
  • 已采纳回答 9月28日
  • 修改了问题 9月24日
  • 创建了问题 9月24日

悬赏问题

  • ¥15 远程桌面文档内容复制粘贴,格式会变化
  • ¥15 关于#java#的问题:找一份能快速看完mooc视频的代码
  • ¥15 这种微信登录授权 谁可以做啊
  • ¥15 请问我该如何添加自己的数据去运行蚁群算法代码
  • ¥20 用HslCommunication 连接欧姆龙 plc有时会连接失败。报异常为“未知错误”
  • ¥15 网络设备配置与管理这个该怎么弄
  • ¥20 机器学习能否像多层线性模型一样处理嵌套数据
  • ¥20 西门子S7-Graph,S7-300,梯形图
  • ¥50 用易语言http 访问不了网页
  • ¥50 safari浏览器fetch提交数据后数据丢失问题