春天回归急切地缓存 - 循环引用的结果

时间:2014-02-17 10:10:50

标签: spring spring-mvc ioc-container spring-ioc spring-io

我正在处理我正在处理的某个应用程序中的问题。我收到以下错误。

| DEBUG | org.springframework.beans.factory.support.DefaultListableBeanFactory [237] | Returning eagerly cached instance of singleton bean 'cdmManager' that is not fully initialized yet - a consequence of a circular reference
17 Feb 2014 09:31:43,394 | DEBUG | org.springframework.beans.factory.support.DefaultListableBeanFactory [1307] | Ignoring bean creation exception on FactoryBean type check: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'quoteValidationManager' defined in ServletContext resource [/WEB-INF/applicationContext-service.xml]: Cannot create inner bean 'Full Package of quoteManager' of type [Full Package of Full Package of quoteManager] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'Full Package of quoteManager' defined in ServletContext resource [/WEB-INF/applicationContext-service.xml]: Cannot resolve reference to bean 'onlineManager' while setting bean property 'onlineManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'onlineManager' defined in ServletContext resource [/WEB-INF/applicationContext-service.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'cdmManager': org.springframework.beans.factory.FactoryBeanNotInitializedException: FactoryBean is not fully initialized yet

我无法弄清楚为什么会出现此错误。而且我无法弄清楚对象图中存在循环引用的位置。

FYI quoteManager有onlineManager,它有cdmManager。

请帮我解决这个问题

0 个答案:

没有答案