0
最近、私たちのアプリケーション用にJenkins 2.47にアップグレードしました。私たちは以前にJenkins 1.7を使ってアプリケーションを開発しました。私はアップグレードで奇妙な問題が発生したことを知りました。最新のジェンキンスで構築されたRPMは以下のエラーで展開に失敗している:最新のジンキンで構築されたRPMによるデプロイメントの失敗
<Apr 10, 2017 5:01:43 PM GMT> <Warning> <HTTP> <BEA-101162> <User defined listener org.springframework.web.context.ContextLoaderListener failed: org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name : Bean with name has been injected into other beans in its raw version as part of a circular reference, but has eventually been wrapped. This means that said other beans do not use the final version of the bean. This is often the result of over-eager type matching - consider using 'getBeanNamesOfType' with the 'allowEagerInit' flag turned off, for example..
org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name : Bean with name has been injected into other beans in its raw version as part of a circular reference, but has eventually been wrapped. This means that said other beans do not use the final version of the bean. This is often the result of over-eager type matching - consider using 'getBeanNamesOfType' with the 'allowEagerInit' flag turned off, for example.
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:568)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
Truncated. see log file for complete stacktrace
>
<Apr 10, 2017 5:01:43 PM GMT> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application .
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1520)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
Truncated. see log file for complete stacktrace
Caused By: org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name : Bean with name has been injected into other beans in its raw version as part of a circular reference, but has eventually been wrapped. This means that said other beans do not use the final version of the bean. This is often the result of over-eager type matching - consider using 'getBeanNamesOfType' with the 'allowEagerInit' flag turned off, for example.
私は(ジェンキンスでジョブを実行せずに)Mavenを使ってコマンドライン上で同じコードをビルドし、任意の展開エラーなしでRPMを配備することができます。