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

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里面看看是否有问题

    评论
    解决 无用
    打赏 举报

相关推荐 更多相似问题