zoukankan      html  css  js  c++  java
  • autowired循环调用

    下面这段代码,表示那你的bean进行了循环调用。

    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'buildService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.meituan.ee.codex.service.repository.RepositoryService com.meituan.ee.codex.service.builder.Impl.BuildServiceImpl.repositoryService; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'repositoryService' defined in file [/Users/yanglongwen/coderep/ee-codex/target/classes/com/meituan/ee/codex/service/repository/Impl/RepositoryServiceImpl.class]: Unsatisfied dependency expressed through constructor argument with index 8 of type [com.meituan.ee.codex.service.machine.MachineBindService]: : Error creating bean with name 'machineBindService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.meituan.ee.codex.service.publishment.CodexPublishmentService com.meituan.ee.codex.service.machine.Impl.MachineBindServiceImpl.codexPublishmentService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'codexPublishmentService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.meituan.ee.codex.service.repository.RepositoryService com.meituan.ee.codex.service.publishment.impl.CodexPublishmentServiceImpl.repositoryService; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'repositoryService': Requested bean is currently in creation: Is there an unresolvable circular reference?; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'machineBindService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.meituan.ee.codex.service.publishment.CodexPublishmentService com.meituan.ee.codex.service.machine.Impl.MachineBindServiceImpl.codexPublishmentService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'codexPublishmentService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.meituan.ee.codex.service.repository.RepositoryService com.meituan.ee.codex.service.publishment.impl.CodexPublishmentServiceImpl.repositoryService; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'repositoryService': Requested bean is currently in creation: Is there an unresolvable circular reference?

  • 相关阅读:
    什么是工厂模式
    冒泡算法
    CSS中的绝对定位与相对定位
    JS function立即调用的几种写法
    paip.java 线程无限wait的解决
    paip.java 多线程参数以及返回值Future FutureTask 的使用.
    PAIP.并发编程 多核编程 线程池 ExecutorService的判断线程结束
    paip.slap工具与于64位win7与JDBC的性能对比
    JProfiler8 注册码序列号
    paip.提升性能---mysql 优化cpu多核以及lan性能的关系.
  • 原文地址:https://www.cnblogs.com/loren-Yang/p/9394747.html
Copyright © 2011-2022 走看看