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?

  • 相关阅读:
    LeetCode206翻转链表问题,多解法求解
    使用GCC编译c源程序经历的几个步骤
    部分内置函数(不含面向对象型)
    Python初学1
    函数的作用域与匿名函数
    生成器函数以及生产消费模型
    【VC编译错误】error C2872: 'ofstream' : ambiguous symbol
    【C开发】无限循环 while(1) 和 for(; ;)
    【C开发】预编译处理命令(#define、typedef、#include、#运算符)
    编译DLL出现无法解析的外部符号
  • 原文地址:https://www.cnblogs.com/loren-Yang/p/9394747.html
Copyright © 2011-2022 走看看