• 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?

  • 相关阅读:
    Java Platform SE binary已停止运行 Can't load AMD 64-bit.dll on a IA 32-bit platform错误
    ORACLE PL/SQL编程之触发器
    JVM年轻代(young generation)老年代(old generation tenured)持久代(permanent generation)GC
    在JVM中,新生代和旧生代有何区别?GC的回收方式有几种?server和client有和区别?
    spring的笔记1 关云长
    雷林鹏分享:Java 流(Stream)、文件(File)和IO
    雷林鹏分享:Java 方法
    雷林鹏分享:Java 正则表达式
    雷林鹏分享:Java 日期时间
    雷林鹏分享:Java 数组
  • 原文地址:https://www.cnblogs.com/loren-Yang/p/9394747.html
Copyright © 2020-2023  润新知