ContextLoaderListener.contextInitialized() has thrown a BootstrapException

org.springframework.beans.factory.access.BootstrapException
Javadoc
Exception thrown if a bean factory could not be loaded by a bootstrap class. @author Rod Johnson @since 02.12.2002
at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory
(source)
at org.springframework.web.context.ContextLoader.loadParentContext
(source)
at org.springframework.web.context.ContextLoader.initWebApplicationContext
(source)
at org.springframework.web.context.ContextLoaderListener.contextInitialized
(source)
3 frames hidden

Typical Exception Messages

  1. Unable to return specified BeanFactory instance: factory key [mainApplicationContext], from group with resource name [classpath*:beanRefContext.xml]; nested exception is org.springframework.beans.factory.BeanNotOfRequiredTypeException: Bean named 'mainApplicationContext' must be of type [org.springframework.beans.factory.BeanFactory], but was actually of type [org.jboss.spring.factory.NamedXmlApplicationContext]
  2. Unable to return specified BeanFactory instance: factory key [application.context], from group with resource name [classpath*:beanRefContext.xml]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'application.context' defined in URL [file:/siteldev/server/gs/tmp/deploy/tmp6548849958003661023STL-GS-WAR-GUI-1.0.10-exp.war/WEB-INF/classes/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'filterChainProxy' defined in class path resource [fr/aprr/sitel/gestionstock/gui/beansSecurity.xml]: Cannot resolve reference to bean 'rememberMeAuthenticationFilter' while setting bean property 'filterChainMap' with key [/(?:(?!(error403|errorSession)).)*\.jsf.*] with key [4]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'rememberMeAuthenticationFilter' defined in class path resource [fr/aprr/sitel/gestionstock/gui/beansSecurity.xml]: Cannot resolve reference to bean 'authenticationManager' while setting bean property 'authenticationManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.authenticationManager': Cannot resolve reference to bean 'kerberosServiceAuthenticationProvider' while setting bean property 'providers' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kerberosServiceAuthenticationProvider' defined in class path resource [fr/aprr/sitel/gestionstock/gui/beansSecurity.xml]: Cannot create inner bean 'ticketValidatorFactory$created#82e082e' while setting bean property 'ticketValidator'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ticketValidatorFactory$created#82e082e' defined in class path resource [fr/aprr/sitel/gestionstock/gui/beansSecurity.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.springframework.security.extensions.kerberos.KerberosTicketValidator org.springframework.security.extensions.kerberos.TicketValidatorFactory.createInstance()] threw exception; nested exception is java.lang.RuntimeException: javax.security.auth.login.LoginException: Login Failure: all modules ignored
  3. Unable to initialize group definition. Group resource name [classpath*:/config/spring/root-parent-context.xml], factory key [parent.web.context]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'parent.web.context' defined in URL [file:/C:/Program Files/IBM/Application Developer/workspace/GPSApp/bin/config/spring/root-parent-context.xml]: Instantiation of bean failed; nested exception is java.lang.AbstractMethodError: org/apache/log4j/spi/LoggerFactory.makeNewLoggerInstance(Lorg/apache/logging/log4j/core/LoggerContext;Ljava/lang/String;)Lorg/apache/log4j/Logger;
  4. Unable to initialize group definition. Group resource name [classpath*:beanRefContext.xml], factory key [netbanksrv.context]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'netbanksrv.context' defined in URL [file:/C:/Users/anchetm1/workspace/pegasus-bundle/netbanksrv-core/target/classes/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [pegasus.framework.spring.context.MethodCachingClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file [C:\Users\anchetm1\workspace\pegasus-bundle\netbanksrv-core\target\classes\pegasus\project\netbanksrv\config\TrusteeDeviceConfig.class]; nested exception is java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
  5. Unable to initialize group definition. Group resource name [classpath*:beanRefContext.xml], factory key [ear.context]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ear.context' defined in URL [file:/C:/@Workspace/SBEDEV_Jazz/SBEApp/src/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sharedConfigWebServiceUrl': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: Context: PDKBLT5B65W7Node01Cell/nodes/PDKBLT5B65W7Node01/servers/server1, name: jndi/ConfigWebService: First component in name jndi/ConfigWebService not found. [Root exception is org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0]
  6. Unable to initialize group definition. Group resource name [classpath:Spring-config.xml], factory key [businessBeanFactory]; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [Spring-config.xml]; nested exception is java.io.FileNotFoundException: class path resource [Spring-config.xml] cannot be opened because it does not exist
  7. Unable to return specified BeanFactory instance: factory key [mainApplicationContext], from group with resource name [classpath*:beanRefContext.xml]; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'mainApplicationContext' is defined
  8. Unable to return specified BeanFactory instance: factory key [basecommon.base], from group with resource name [classpath*:beanRefContext.xml]; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'basecommon.base' available
  9. Unable to return specified BeanFactory instance: factory key [amiunsolicited.context], from group with resource name [classpath*:beanRefContext.xml]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'amiunsolicited.context': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'amiUnsolicitedCimTwoZeroService': Invocation of init method failed; nested exception is javax.xml.ws.WebServiceException: java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
  10. Unable to initialize group definition. Group resource name [classpath*:beanRefContext.xml], factory key [ear.context]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ear.context' defined in URL [wsjar:file:/websphere/AppServer/profiles/sdpserver1/installedApps/localhostCell01/csm-assembly.ear/csm-commons.jar!/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'servletRequestHandledEventListener': Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org/aspectj/runtime/internal/AroundClosure.linkClosureAndJoinPoint(I)Lorg/aspectj/lang/ProceedingJoinPoint;

Origin

ContextLoader.loadParentContext() has thrown a BootstrapException

org.springframework.beans.factory.access.BootstrapException
1 frames hidden
org.springframework.web.context.ContextLoader.loadParentContext
12Web pages

Specific cases

External results for this pattern (11)

  1. Unknown authorvia zendesk.com5 months ago
    Unable to initialize group definition. Group resource name [classpath:/spring/beanRefFactory.xml], factory key [beanRefFactory]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'beanRefFactory' defined in class path resource [spring/beanRefFactory.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pluginRegistryInitializer' defined in URL [jar:file:/opt/datameer/Datameer-4.5.16-hdp-2.1.2.0/webapps/ROOT/WEB-INF/lib/dap-conductor-4.5.16.jar!/datameer/dap/conductor/webapp/PluginRegistryInitializer.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [datameer.dap.conductor.webapp.PluginRegistryInitializer]: Constructor threw exception; nested exception is java.lang.RuntimeException: No such file or directory
    Show stack trace
  2. Unknown authorvia jboss.org5 months ago
    Unable to return specified BeanFactory instance: factory key [mainApplicationContext], from group with resource name [classpath*:beanRefContext.xml]; nested exception is org.springframework.beans.factory.BeanNotOfRequiredTypeException: Bean named 'mainApplicationContext' must be of type [org.springframework.beans.factory.BeanFactory], but was actually of type [org.jboss.spring.factory.NamedXmlApplicationContext]
    Show stack trace
  3. Unknown authorvia jboss.org5 months ago
    Unable to return specified BeanFactory instance: factory key [mainApplicationContext], from group with resource name [classpath*:beanRefContext.xml]; nested exception is org.springframework.beans.factory.BeanNotOfRequiredTypeException: Bean named 'mainApplicationContext' must be of type [org.springframework.beans.factory.BeanFactory], but was actually of type [org.jboss.spring.factory.NamedXmlApplicationContext]
    Show stack trace
  4. user1129644via Oracle Community5 months ago
    Unable to initialize group definition. Group resource name [classpath*:beanRefContext.xml], factory key [ControlEngine]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ControlEngine' defined in URL [zip:/apps/bea/user_projects/domains/TLM/servers/AdminServer/tmp/_WL_user/tcengine/svqswc/war/WEB-INF/lib/_wl_cls_gen.jar!/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [container-context.xml]: Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: Unable to resolve 'jdbc.webconnectDatasource'. Resolved 'jdbc'; remaining name 'webconnectDatasource'
    Show stack trace
  5. Unknown authorvia spring.io5 months ago
    Unable to return specified BeanFactory instance: factory key [mainApplicationContext], from group with resource name [classpath*:beanRefContext.xml]; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'mainApplicationContext' is defined
    Show stack trace
  6. Daniel Kulpvia cxf-users6 months ago
    Unable to return specified BeanFactory instance: factory key [amiunsolicited.context], from group with resource name [classpath*:beanRefContext.xml]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'amiunsolicited.context': FactoryBean threw exception on object creation; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'amiUnsolicitedCimTwoZeroService': Invocation of init method failed; nested exception is javax.xml.ws.WebServiceException: java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
    Show stack trace
  7. RivsDCvia GitHub6 months ago
    Unable to initialize group definition. Group resource name [classpath*:beanRefContext.xml], factory key [default.context]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'default.context' defined in URL [file:/F:/apache-tomcat-8.0.45/webapps/red5/WEB-INF/classes/beanRefContext.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.jmx.export.UnableToRegisterMBeanException: Unable to register MBean [org.red5.server.Context@586d7ec1] with key 'global.context'; nested exception is javax.management.NotCompliantMBeanException: org.red5.server.jmx.mxbeans.ContextMXBean: Method org.red5.server.jmx.mxbeans.ContextMXBean.getResource has parameter or return type that cannot be translated into an open type
    Show stack trace
  8. rsljvia Stack Overflow11 months ago
    Unable to initialize group definition. Group resource name [classpath*:beanRefContext.xml], factory key [applicationContext-main]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'baseContext' defined in URL : Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.context.support.GenericXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jobRepository': Invocation of init method failed; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Could not get Connection for extracting meta data; nested exception is org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'org.hsqldb.jdbcDriver'
    Show stack trace
  9. Unable to return specified BeanFactory instance: factory key [basecommon.base], from group with resource name [classpath*:beanRefContext.xml]; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'basecommon.base' available
    Show stack trace
  10. Unable to initialize group definition. Group resource name [classpath*:beanRefContext.xml], factory key [hide.health.clinicalsystem.bcl.treatmentProtocolService]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hide.health.clinicalsystem.bcl.treatmentProtocolService' defined in URL [file:/J:/Oracle/Middleware/Oracle_Home/user_projects/domains/AUTH/servers/AUTH_SER/tmp/_WL_user/treatment_protocol_deployment_ear/fctudi/APP-INF/classes/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'treatmentProtocol' defined in class path resource [spring/treatment-protocol-core-context.xml]: Cannot resolve reference to bean 'treatmentProtocolActivationDTOBuilder' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'treatmentProtocolActivationDTOBuilder' defined in class path resource [spring/treatment-protocol-core-context.xml]: Cannot resolve reference to bean 'treatmentProtocolDTOBuilder' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'treatmentProtocolDTOBuilder' defined in class path resource [spring/treatment-protocol-core-context.xml]: Cannot resolve reference to bean 'protocolStagesDTOBuilder' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'protocolStagesDTOBuilder' defined in class path resource [spring/treatment-protocol-core-context.xml]: Could not resolve matching constructor (hint: specify index/type/name arguments for simple parameters to avoid type ambiguities)
    Show stack trace