spring明明沒有迴圈引用的,為什麼總報這個錯?

xyz發表於2009-03-30
明明沒有迴圈引用的,為什麼總報這個錯?

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'MeterHouseService' defined in ServletContext resource [/WEB-INF/classes/com/centit/jlwr/webservice/webservice-xfire.xml]: Cannot create inner bean 'com.centit.jlwr.webservice.impl.MeterHouseServiceImpl#142f703' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'meterBackManager' defined in class path resource [com/centit/jlwr/wmh/service/applicationContext-wmh.xml]: Cannot resolve reference to bean 'meterOutMgr' while setting bean property 'meterOutMgr'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'meterOutMgr': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.FactoryBeanNotInitializedException: FactoryBean not fully initialized yet (maybe due to circular bean reference)
Caused by: 
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'meterBackManager' defined in class path resource [com/centit/jlwr/wmh/service/applicationContext-wmh.xml]: Cannot resolve reference to bean 'meterOutMgr' while setting bean property 'meterOutMgr'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'meterOutMgr': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.FactoryBeanNotInitializedException: FactoryBean not fully initialized yet (maybe due to circular bean reference)
Caused by: 
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'meterOutMgr': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.FactoryBeanNotInitializedException: FactoryBean not fully initialized yet (maybe due to circular bean reference)
Caused by: 
org.springframework.beans.factory.FactoryBeanNotInitializedException: FactoryBean not fully initialized yet (maybe due to circular bean reference)

相關文章