在IBM Liberty服务器启动期间获取UnsatisfiedDependencyException

时间:2017-04-14 05:33:13

标签: spring spring-mvc websphere-liberty

我在IBM Liberty服务器启动期间收到UnsatisfiedDependencyException。即使spring bean在spring配置文件中可用。这是投掷错误。你能否让我知道我犯错的地方。下面是错误的完整堆栈跟踪。我使用的是websphere 8.5.5.8版本

ltListableBeanFactory] [-] Bean creation exception on non-lazy FactoryBean type check: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'preProcess6266001TransBean': Unsatisfied dependency expressed through field 'mEbcContext': Error creating bean with name 'ebcfwk.ebcContext': Requested bean is currently in creation: Is there an unresolvable circular reference?; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'ebcfwk.ebcContext': Requested bean is currently in creation: Is there an unresolvable circular reference?  
 2017-04-13 11:20:05,834 WARN  [org.springframework.beans.factory.support.DefaultListableBeanFactory] [-] Bean creation exception on non-lazy FactoryBean type check: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'becBatchGroupTrans' defined in URL [wsjar:file:/C:/GIT/RIXJava7New1/EBCIRIX01/ebcirix01_as/ebcirix01/target/ebcirix01-1.41.0-SNAPSHOT/WEB-INF/lib/ebcrixcommon01-1.41.0-SNAPSHOT-classes.jar!/ebcrixcommon01-batchContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'ebcfwk.ebcContext': Requested bean is currently in creation: Is there an unresolvable circular reference?  
 2017-04-13 11:20:05,835 WARN  [org.springframework.beans.factory.support.DefaultListableBeanFactory] [-] Bean creation exception on non-lazy FactoryBean type check: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'preProcess6351001TransBean': Unsatisfied dependency expressed through field 'mEbcContext': Error creating bean with name 'ebcfwk.ebcContext': Requested bean is currently in creation: Is there an unresolvable circular reference?; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'ebcfwk.ebcContext': Requested bean is currently in creation: Is there an unresolvable circular reference?  
 2017-04-13 11:20:05,835 WARN  [org.springframework.beans.factory.support.DefaultListableBeanFactory] [-] Bean creation exception on non-lazy FactoryBean type check: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'becBatchGroupTrans' defined in URL [wsjar:file:/C:/GIT/RIXJava7New1/EBCIRIX01/ebcirix01_as/ebcirix01/target/ebcirix01-1.41.0-SNAPSHOT/WEB-INF/lib/ebcrixcommon01-1.41.0-SNAPSHOT-classes.jar!/ebcrixcommon01-batchContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'ebcfwk.ebcContext': Requested bean is currently in creation: Is there an unresolvable circular reference?  
 2017-04-13 11:20:05,836 INFO  [com.ikea.ebcframework.internal.services.EbbManagerPropsInitializedEbcContext] [-]   EBCContext - [ebcName="EBCIRIX01"], [locality="Local"], [virtualDomain=""], [hostName="com.ikea.ebcframework.internal.config.HostName@7f8fa2f1"], DefaultUserAndRequestProfile{[userId="default"][userIdRegion="Local"][clientId=""][originator="EBCIRIX01"][ebcRoles=""][languageCode="en"][countryCode="SE"][timeZone="GMT"][runAsUid="EBCIRIX01"][locality="Local"][virtualDomain=""][msgId=""][msgIdSeq="0"][invocationStyle="INVOCATION_SYNCH"][deliveryStyle="BEST_EFFORT"][bsName=""][hostName=""][ebcInstance=""][ebcName="EBCIRIX01"]}  
 2017-04-13 11:20:05,838 WARN  [org.springframework.beans.factory.support.DefaultListableBeanFactory] [-] Bean creation exception on non-lazy FactoryBean type check: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'preProcess5970005TransBean': Unsatisfied dependency expressed through field 'mEbcContext': Error creating bean with name 'ebcfwk.ebcContext': Invocation of init method failed; nested exception is java.lang.NullPointerException; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ebcfwk.ebcContext': Invocation of init method failed; nested exception is java.lang.NullPointerException  
 2017-04-13 11:20:05,930 INFO  [com.ikea.ebcframework.internal.services.EbbManagerPropsInitializedEbcContext] [-]   EBCContext - [ebcName="EBCIRIX01"], [locality="Local"], [virtualDomain=""], [hostName="com.ikea.ebcframework.internal.config.HostName@7f8fa2f1"], DefaultUserAndRequestProfile{[userId="default"][userIdRegion="Local"][clientId=""][originator="EBCIRIX01"][ebcRoles=""][languageCode="en"][countryCode="SE"][timeZone="GMT"][runAsUid="EBCIRIX01"][locality="Local"][virtualDomain=""][msgId=""][msgIdSeq="0"][invocationStyle="INVOCATION_SYNCH"][deliveryStyle="BEST_EFFORT"][bsName=""][hostName=""][ebcInstance=""][ebcName="EBCIRIX01"]}  
 2017-04-13 11:20:05,931 WARN  [org.springframework.beans.factory.support.DefaultListableBeanFactory] [-] Bean creation exception on non-lazy FactoryBean type check: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'becBatchGroupTrans' defined in URL [wsjar:file:/C:/GIT/RIXJava7New1/EBCIRIX01/ebcirix01_as/ebcirix01/target/ebcirix01-1.41.0-SNAPSHOT/WEB-INF/lib/ebcrixcommon01-1.41.0-SNAPSHOT-classes.jar!/ebcrixcommon01-batchContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ebcfwk.ebcContext': Invocation of init method failed; nested exception is java.lang.NullPointerException  
 2017-04-13 11:20:05,936 WARN  [org.springframework.beans.factory.support.DefaultListableBeanFactory] [-] Bean creation exception on non-lazy FactoryBean type check: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'becBatchGroupTrans' defined in URL [wsjar:file:/C:/GIT/RIXJava7New1/EBCIRIX01/ebcirix01_as/ebcirix01/target/ebcirix01-1.41.0-SNAPSHOT/WEB-INF/lib/ebcrixcommon01-1.41.0-SNAPSHOT-classes.jar!/ebcrixcommon01-batchContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'ebcfwk.ebcContext': Requested bean is currently in creation: Is there an unresolvable circular reference?  
 2017-04-13 11:20:05,939 WARN  [org.springframework.beans.factory.support.DefaultListableBeanFactory] [-] Bean creation exception on non-lazy FactoryBean type check: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'becBatchGroupTrans' defined in URL [wsjar:file:/C:/GIT/RIXJava7New1/EBCIRIX01/ebcirix01_as/ebcirix01/target/ebcirix01-1.41.0-SNAPSHOT/WEB-INF/lib/ebcrixcommon01-1.41.0-SNAPSHOT-classes.jar!/ebcrixcommon01-batchContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'ebcfwk.ebcContext': Requested bean is currently in creation: Is there an unresolvable circular reference?  
 2017-04-13 11:20:05,942 WARN  [org.springframework.beans.factory.support.DefaultListableBeanFactory] [-] Bean creation exception on non-lazy FactoryBean type check: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'becBatchGroupTrans' defined in URL [wsjar:file:/C:/GIT/RIXJava7New1/EBCIRIX01/ebcirix01_as/ebcirix01/target/ebcirix01-1.41.0-SNAPSHOT/WEB-INF/lib/ebcrixcommon01-1.41.0-SNAPSHOT-classes.jar!/ebcrixcommon01-batchContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'ebcfwk.ebcContext': Requested bean is currently in creation: Is there an unresolvable circular reference?  
 2017-04-13 11:20:05,945 WARN  [org.springframework.beans.factory.support.DefaultListableBeanFactory] [-] Bean creation exception on non-lazy FactoryBean type check: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'becBatchGroupTrans' defined in URL [wsjar:file:/C:/GIT/RIXJava7New1/EBCIRIX01/ebcirix01_as/ebcirix01/target/ebcirix01-1.41.0-SNAPSHOT/WEB-INF/lib/ebcrixcommon01-1.41.0-SNAPSHOT-classes.jar!/ebcrixcommon01-batchContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'ebcfwk.ebcContext': Requested bean is currently in creation: Is there an unresolvable circular reference?  
 2017-04-13 11:20:05,947 WARN  [org.springframework.beans.factory.support.DefaultListableBeanFactory] [-] Bean creation exception on non-lazy FactoryBean type check: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'becBatchGroupTrans' defined in URL [wsjar:file:/C:/GIT/RIXJava7New1/EBCIRIX01/ebcirix01_as/ebcirix01/target/ebcirix01-1.41.0-SNAPSHOT/WEB-INF/lib/ebcrixcommon01-1.41.0-SNAPSHOT-classes.jar!/ebcrixcommon01-batchContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'ebcfwk.ebcContext': Requested bean is currently in creation: Is there an unresolvable circular reference?  
 2017-04-13 11:20:05,950 WARN  [org.springframework.beans.factory.support.DefaultListableBeanFactory] [-] Bean creation exception on non-lazy FactoryBean type check: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'becBatchGroupTrans' defined in URL [wsjar:file:/C:/GIT/RIXJava7New1/EBCIRIX01/ebcirix01_as/ebcirix01/target/ebcirix01-1.41.0-SNAPSHOT/WEB-INF/lib/ebcrixcommon01-1.41.0-SNAPSHOT-classes.jar!/ebcrixcommon01-batchContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'ebcfwk.ebcContext': Requested bean is currently in creation: Is there an unresolvable circular reference?  
 2017-04-13 11:20:05,951 INFO  [com.ikea.ebcframework.internal.services.EbbManagerPropsInitializedEbcContext] [-]   EBCContext - [ebcName="EBCIRIX01"], [locality="Local"], [virtualDomain=""], [hostName="com.ikea.ebcframework.internal.config.HostName@7f8fa2f1"], DefaultUserAndRequestProfile{[userId="default"][userIdRegion="Local"][clientId=""][originator="EBCIRIX01"][ebcRoles=""][languageCode="en"][countryCode="SE"][timeZone="GMT"][runAsUid="EBCIRIX01"][locality="Local"][virtualDomain=""][msgId=""][msgIdSeq="0"][invocationStyle="INVOCATION_SYNCH"][deliveryStyle="BEST_EFFORT"][bsName=""][hostName=""][ebcInstance=""][ebcName="EBCIRIX01"]}  
 2017-04-13 11:20:05,952 WARN  [org.springframework.beans.factory.support.DefaultListableBeanFactory] [-] Bean creation exception on non-lazy FactoryBean type check: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'preProcess6351001TransBean': Unsatisfied dependency expressed through field 'mEbcContext': Error creating bean with name 'ebcfwk.ebcContext': Invocation of init method failed; nested exception is java.lang.NullPointerException; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ebcfwk.ebcContext': Invocation of init method failed; nested exception is java.lang.NullPointerException  
 2017-04-13 11:20:05,957 WARN  [org.springframework.beans.factory.support.DefaultListableBeanFactory] [-] Bean creation exception on non-lazy FactoryBean type check: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'preProcess6351001TransBean': Unsatisfied dependency expressed through field 'mEbcContext': Error creating bean with name 'ebcfwk.ebcContext': Requested bean is currently in creation: Is there an unresolvable circular reference?; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'ebcfwk.ebcContext': Requested bean is currently in creation: Is there an unresolvable circular reference?  
 2017-04-13 11:20:05,992 WARN  [org.springframework.beans.factory.support.DefaultListableBeanFactory] [-] Bean creation exception on non-lazy FactoryBean type check: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'preProcess6351001TransBean': Unsatisfied dependency expressed through field 'mEbcContext': Error creating bean with name 'ebcfwk.ebcContext': Requested bean is currently in creation: Is there an unresolvable circular reference?; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'ebcfwk.ebcContext': Requested bean is currently in creation: Is there an unresolvable circular reference?  
 2017-04-13 11:20:05,998 WARN  [org.springframework.beans.factory.support.DefaultListableBeanFactory] [-] Bean creation exception on non-lazy FactoryBean type check: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'preProcess6351001TransBean': Unsatisfied dependency expressed through field 'mEbcContext': Error creating bean with name 'ebcfwk.ebcContext': Requested bean is currently in creation: Is there an unresolvable circular reference?; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'ebcfwk.ebcContext': Requested bean is currently in creation: Is there an unresolvable circular reference?  
 2017-04-13 11:20:06,003 WARN  [org.springframework.beans.factory.support.DefaultListableBeanFactory] [-] Bean creation exception on non-lazy FactoryBean type check: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'preProcess6351001TransBean': Unsatisfied dependency expressed through field 'mEbcContext': Error creating bean with name 'ebcfwk.ebcContext': Requested bean is currently in creation: Is there an unresolvable circular reference?; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'ebcfwk.ebcContext': Requested bean is currently in creation: Is there an unresolvable circular reference?  
 2017-04-13 11:20:06,008 WARN  [org.springframework.beans.factory.support.DefaultListableBeanFactory] [-] Bean creation exception on non-lazy FactoryBean type check: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'preProcess6351001TransBean': Unsatisfied dependency expressed through field 'mEbcContext': Error creating bean with name 'ebcfwk.ebcContext': Requested bean is currently in creation: Is there an unresolvable circular reference?; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'ebcfwk.ebcContext': Requested bean is currently in creation: Is there an unresolvable circular reference?  
 2017-04-13 11:20:06,013 WARN  [org.springframework.beans.factory.support.DefaultListableBeanFactory] [-] Bean creation exception on non-lazy FactoryBean type check: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'preProcess6351001TransBean': Unsatisfied dependency expressed through field 'mEbcContext': Error creating bean with name 'ebcfwk.ebcContext': Requested bean is currently in creation: Is there an unresolvable circular reference?; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'ebcfwk.ebcContext': Requested bean is currently in creation: Is there an unresolvable circular reference?  
 2017-04-13 11:20:06,014 INFO  [com.ikea.ebcframework.internal.services.EbbManagerPropsInitializedEbcContext] [-]   EBCContext - [ebcName="EBCIRIX01"], [locality="Local"], [virtualDomain=""], [hostName="com.ikea.ebcframework.internal.config.HostName@7f8fa2f1"], DefaultUserAndRequestProfile{[userId="default"][userIdRegion="Local"][clientId=""][originator="EBCIRIX01"][ebcRoles=""][languageCode="en"][countryCode="SE"][timeZone="GMT"][runAsUid="EBCIRIX01"][locality="Local"][virtualDomain=""][msgId=""][msgIdSeq="0"][invocationStyle="INVOCATION_SYNCH"][deliveryStyle="BEST_EFFORT"][bsName=""][hostName=""][ebcInstance=""][ebcName="EBCIRIX01"]}  

0 个答案:

没有答案