一只咔嚓鹿 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 metadata提取的PDF元数据,如何转换为一个Excel
  • ¥15 关于arduino编程toCharArray()函数的使用
  • ¥100 vc++混合CEF采用CLR方式编译报错
  • ¥15 coze 的插件输入飞书多维表格 app_token 后一直显示错误,如何解决?
  • ¥15 vite+vue3+plyr播放本地public文件夹下视频无法加载
  • ¥15 c#逐行读取txt文本,但是每一行里面数据之间空格数量不同
  • ¥50 如何openEuler 22.03上安装配置drbd
  • ¥20 ING91680C BLE5.3 芯片怎么实现串口收发数据
  • ¥15 无线连接树莓派,无法执行update,如何解决?(相关搜索:软件下载)
  • ¥15 Windows11, backspace, enter, space键失灵