org.springframework.beans.FatalBeanException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Some classes are not getting loaded when the application is restarted, below is the stack trace generated. 10/08/2009 14:45:00,013 [schedulerFactoryBean_QuartzSchedulerThread] DEBUG org.quartz.impl.jdbcjobstore.StdRowLockSemaphore - Lock 'TRIGGER_ACCESS' is desired by: schedulerFactoryBean_QuartzSchedulerThread 10/08/2009 14:45:00,013 [schedulerFactoryBean_QuartzSchedulerThread] DEBUG org.quartz.impl.jdbcjobstore.StdRowLockSemaphore - Lock 'TRIGGER_ACCESS' is being obtained: schedulerFactoryBean_QuartzSchedulerThread 10/08/2009 14:45:00,013 [schedulerFactoryBean_QuartzSchedulerThread] DEBUG org.quartz.impl.jdbcjobstore.StdRowLockSemaphore - Lock 'TRIGGER_ACCESS' given to: schedulerFactoryBean_QuartzSchedulerThread 10/08/2009 14:45:00,029 [schedulerFactoryBean_QuartzSchedulerThread] DEBUG org.quartz.impl.jdbcjobstore.StdRowLockSemaphore - Lock 'TRIGGER_ACCESS' returned by: schedulerFactoryBean_QuartzSchedulerThread 10/08/2009 14:45:00,029 [WorkManager.DefaultWorkManager : 0] INFO com.te.jpay.services.scheduling.ExecuteDueCollectionJobParameterProviderJobListener - Setting executionDate to: java.util.GregorianCalendar[time=?,areFieldsSet=false,areAllFieldsSet=true,lenient=true,zone=sun.util.calendar.ZoneInfo[id="Asia/Calcutta",offset=19800000,dstSavings=0,useDaylight=false,transitions=6,lastRule=null],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=1,YEAR=2009,MONTH=7,WEEK_OF_YEAR=33,WEEK_OF_MONTH=3,DAY_OF_MONTH=10,DAY_OF_YEAR=222,DAY_OF_WEEK=2,DAY_OF_WEEK_IN_MONTH=2,AM_PM=1,HOUR=2,HOUR_OF_DAY=0,MINUTE=0,SECOND=0,MILLISECOND=0,ZONE_OFFSET=19800000,DST_OFFSET=0] 10/08/2009 14:45:00,029 [WorkManager.DefaultWorkManager : 0] DEBUG org.quartz.core.JobRunShell - Calling execute on job DEFAULT.springBatchJobLauncherDetails 10/08/2009 14:45:00,029 [WorkManager.DefaultWorkManager : 0] INFO com.te.jpay.services.scheduling.BatchJobLauncherJob - Called with context: JobExecutionContext: trigger: 'DEFAULT.abcd job: DEFAULT.springBatchJobLauncherDetails fireTime: 'Mon Aug 10 14:45:00 IST 2009 scheduledFireTime: Mon Aug 10 14:45:00 IST 2009 previousFireTime: 'Sun Aug 09 14:45:00 IST 2009 nextFireTime: Tue Aug 11 14:45:00 IST 2009 isRecovering: false refireCount: 0 10/08/2009 14:45:00,029 [WorkManager.DefaultWorkManager : 0] INFO org.springframework.batch.core.configuration.support.ClassPathXmlApplicationContextFactory$ResourceXmlApplicationContext - Refreshing org.springframework.batch.core.configuration.support.ClassPathXmlApplicationContextFactory$ResourceXmlApplicationContext@ae40ae4: display name [org.springframework.batch.core.configuration.support.ClassPathXmlApplicationContextFactory$ResourceXmlApplicationContext@ae40ae4]; startup date [Mon Aug 10 14:45:00 IST 2009]; parent: org.springframework.context.support.ClassPathXmlApplicationContext@3fd03fd0 10/08/2009 14:45:00,029 [WorkManager.DefaultWorkManager : 0] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [spring/executeDueCollection-context.xml] 10/08/2009 14:45:00,044 [WorkManager.DefaultWorkManager : 0] INFO org.quartz.core.JobRunShell - Job DEFAULT.springBatchJobLauncherDetails threw a JobExecutionException: org.quartz.JobExecutionException: org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [spring/executeDueCollection-context.xml]; nested exception is org.springframework.beans.FatalBeanException: Class [org.springframework.context.config.ContextNamespaceHandler] for namespace [http://www.springframework.org/schema/context] does not implement the [org.springframework.beans.factory.xml.NamespaceHandler] interface [See nested exception: org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [spring/executeDueCollection-context.xml]; nested exception is org.springframework.beans.FatalBeanException: Class [org.springframework.context.config.ContextNamespaceHandler] for namespace [http://www.springframework.org/schema/context] does not implement the [org.springframework.beans.factory.xml.NamespaceHandler] interface] at com.te.jpay.services.scheduling.BatchJobLauncherJob.executeInternal(BatchJobLauncherJob.java:64) at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.springframework.scheduling.commonj.DelegatingWork.run(DelegatingWork.java:61) at com.ibm.ws.asynchbeans.J2EEContext.run(J2EEContext.java:1114) at com.ibm.ws.asynchbeans.WorkWithExecutionContextImpl.go(WorkWithExecutionContextImpl.java:195) at com.ibm.ws.asynchbeans.CJWorkItemImpl.run(CJWorkItemImpl.java:187) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1497) Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [spring/executeDueCollection-context.xml]; nested exception is org.springframework.beans.FatalBeanException: Class [org.springframework.context.config.ContextNamespaceHandler] for namespace [http://www.springframework.org/schema/context] does not implement the [org.springframework.beans.factory.xml.NamespaceHandler] interface at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:420) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:342) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143) at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:109) at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:80) at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123) at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:422) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352) at org.springframework.batch.core.configuration.support.ClassPathXmlApplicationContextFactory$ResourceXmlApplicationContext.<init>(ClassPathXmlApplicationContextFactory.java:83) at org.springframework.batch.core.configuration.support.ClassPathXmlApplicationContextFactory$ResourceXmlApplicationContext.<init>(ClassPathXmlApplicationContextFactory.java:81) at org.springframework.batch.core.configuration.support.ClassPathXmlApplicationContextFactory.createApplicationContext(ClassPathXmlApplicationContextFactory.java:70) at org.springframework.batch.core.configuration.support.ApplicationContextJobFactory.createJob(ApplicationContextJobFactory.java:55) at org.springframework.batch.core.configuration.support.MapJobRegistry.getJob(MapJobRegistry.java:81) at org.springframework.batch.core.configuration.support.ClassPathXmlJobRegistry.getJob(ClassPathXmlJobRegistry.java:59) at com.te.jpay.services.scheduling.BatchJobLauncherJob.executeInternal(BatchJobLauncherJob.java:56) ... 7 more Caused by: org.springframework.beans.FatalBeanException: Class [org.springframework.context.config.ContextNamespaceHandler] for namespace [http://www.springframework.org/schema/context] does not implement the [org.springframework.beans.factory.xml.NamespaceHandler] interface at org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.resolve(DefaultNamespaceHandlerResolver.java:125) at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1292) at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1287) at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:135) at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:92) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:507) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:398) ... 22 more 10/08/2009 14:45:00,044 [WorkManager.DefaultWorkManager : 0] DEBUG org.quartz.impl.jdbcjobstore.StdRowLockSemaphore - Lock 'TRIGGER_ACCESS' is desired by: WorkManager.DefaultWorkManager : 0 10/08/2009 14:45:00,044 [WorkManager.DefaultWorkManager : 0] DEBUG org.quartz.impl.jdbcjobstore.StdRowLockSemaphore - Lock 'TRIGGER_ACCESS' is being obtained: WorkManager.DefaultWorkManager : 0 10/08/2009 14:45:00,044 [WorkManager.DefaultWorkManager : 0] DEBUG org.quartz.impl.jdbcjobstore.StdRowLockSemaphore - Lock 'TRIGGER_ACCESS' given to: WorkManager.DefaultWorkManager : 0 10/08/2009 14:45:00,060 [WorkManager.DefaultWorkManager : 0] DEBUG org.quartz.impl.jdbcjobstore.StdRowLockSemaphore - Lock 'TRIGGER_ACCESS' returned by: WorkManager.DefaultWorkManager : 0
    via by Joy Vazapully,
  • Some classes are not getting loaded when the application is restarted, below is the stack trace generated. 10/08/2009 14:45:00,013 [schedulerFactoryBean_QuartzSchedulerThread] DEBUG org.quartz.impl.jdbcjobstore.StdRowLockSemaphore - Lock 'TRIGGER_ACCESS' is desired by: schedulerFactoryBean_QuartzSchedulerThread 10/08/2009 14:45:00,013 [schedulerFactoryBean_QuartzSchedulerThread] DEBUG org.quartz.impl.jdbcjobstore.StdRowLockSemaphore - Lock 'TRIGGER_ACCESS' is being obtained: schedulerFactoryBean_QuartzSchedulerThread 10/08/2009 14:45:00,013 [schedulerFactoryBean_QuartzSchedulerThread] DEBUG org.quartz.impl.jdbcjobstore.StdRowLockSemaphore - Lock 'TRIGGER_ACCESS' given to: schedulerFactoryBean_QuartzSchedulerThread 10/08/2009 14:45:00,029 [schedulerFactoryBean_QuartzSchedulerThread] DEBUG org.quartz.impl.jdbcjobstore.StdRowLockSemaphore - Lock 'TRIGGER_ACCESS' returned by: schedulerFactoryBean_QuartzSchedulerThread 10/08/2009 14:45:00,029 [WorkManager.DefaultWorkManager : 0] INFO com.te.jpay.services.scheduling.ExecuteDueCollectionJobParameterProviderJobListener - Setting executionDate to: java.util.GregorianCalendar[time=?,areFieldsSet=false,areAllFieldsSet=true,lenient=true,zone=sun.util.calendar.ZoneInfo[id="Asia/Calcutta",offset=19800000,dstSavings=0,useDaylight=false,transitions=6,lastRule=null],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=1,YEAR=2009,MONTH=7,WEEK_OF_YEAR=33,WEEK_OF_MONTH=3,DAY_OF_MONTH=10,DAY_OF_YEAR=222,DAY_OF_WEEK=2,DAY_OF_WEEK_IN_MONTH=2,AM_PM=1,HOUR=2,HOUR_OF_DAY=0,MINUTE=0,SECOND=0,MILLISECOND=0,ZONE_OFFSET=19800000,DST_OFFSET=0] 10/08/2009 14:45:00,029 [WorkManager.DefaultWorkManager : 0] DEBUG org.quartz.core.JobRunShell - Calling execute on job DEFAULT.springBatchJobLauncherDetails 10/08/2009 14:45:00,029 [WorkManager.DefaultWorkManager : 0] INFO com.te.jpay.services.scheduling.BatchJobLauncherJob - Called with context: JobExecutionContext: trigger: 'DEFAULT.abcd job: DEFAULT.springBatchJobLauncherDetails fireTime: 'Mon Aug 10 14:45:00 IST 2009 scheduledFireTime: Mon Aug 10 14:45:00 IST 2009 previousFireTime: 'Sun Aug 09 14:45:00 IST 2009 nextFireTime: Tue Aug 11 14:45:00 IST 2009 isRecovering: false refireCount: 0 10/08/2009 14:45:00,029 [WorkManager.DefaultWorkManager : 0] INFO org.springframework.batch.core.configuration.support.ClassPathXmlApplicationContextFactory$ResourceXmlApplicationContext - Refreshing org.springframework.batch.core.configuration.support.ClassPathXmlApplicationContextFactory$ResourceXmlApplicationContext@ae40ae4: display name [org.springframework.batch.core.configuration.support.ClassPathXmlApplicationContextFactory$ResourceXmlApplicationContext@ae40ae4]; startup date [Mon Aug 10 14:45:00 IST 2009]; parent: org.springframework.context.support.ClassPathXmlApplicationContext@3fd03fd0 10/08/2009 14:45:00,029 [WorkManager.DefaultWorkManager : 0] INFO org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [spring/executeDueCollection-context.xml] 10/08/2009 14:45:00,044 [WorkManager.DefaultWorkManager : 0] INFO org.quartz.core.JobRunShell - Job DEFAULT.springBatchJobLauncherDetails threw a JobExecutionException: org.quartz.JobExecutionException: org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [spring/executeDueCollection-context.xml]; nested exception is org.springframework.beans.FatalBeanException: Class [org.springframework.context.config.ContextNamespaceHandler] for namespace [http://www.springframework.org/schema/context] does not implement the [org.springframework.beans.factory.xml.NamespaceHandler] interface [See nested exception: org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [spring/executeDueCollection-context.xml]; nested exception is org.springframework.beans.FatalBeanException: Class [org.springframework.context.config.ContextNamespaceHandler] for namespace [http://www.springframework.org/schema/context] does not implement the [org.springframework.beans.factory.xml.NamespaceHandler] interface] at com.te.jpay.services.scheduling.BatchJobLauncherJob.executeInternal(BatchJobLauncherJob.java:64) at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.springframework.scheduling.commonj.DelegatingWork.run(DelegatingWork.java:61) at com.ibm.ws.asynchbeans.J2EEContext.run(J2EEContext.java:1114) at com.ibm.ws.asynchbeans.WorkWithExecutionContextImpl.go(WorkWithExecutionContextImpl.java:195) at com.ibm.ws.asynchbeans.CJWorkItemImpl.run(CJWorkItemImpl.java:187) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1497) Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [spring/executeDueCollection-context.xml]; nested exception is org.springframework.beans.FatalBeanException: Class [org.springframework.context.config.ContextNamespaceHandler] for namespace [http://www.springframework.org/schema/context] does not implement the [org.springframework.beans.factory.xml.NamespaceHandler] interface at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:420) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:342) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143) at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:109) at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:80) at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123) at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:422) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352) at org.springframework.batch.core.configuration.support.ClassPathXmlApplicationContextFactory$ResourceXmlApplicationContext.<init>(ClassPathXmlApplicationContextFactory.java:83) at org.springframework.batch.core.configuration.support.ClassPathXmlApplicationContextFactory$ResourceXmlApplicationContext.<init>(ClassPathXmlApplicationContextFactory.java:81) at org.springframework.batch.core.configuration.support.ClassPathXmlApplicationContextFactory.createApplicationContext(ClassPathXmlApplicationContextFactory.java:70) at org.springframework.batch.core.configuration.support.ApplicationContextJobFactory.createJob(ApplicationContextJobFactory.java:55) at org.springframework.batch.core.configuration.support.MapJobRegistry.getJob(MapJobRegistry.java:81) at org.springframework.batch.core.configuration.support.ClassPathXmlJobRegistry.getJob(ClassPathXmlJobRegistry.java:59) at com.te.jpay.services.scheduling.BatchJobLauncherJob.executeInternal(BatchJobLauncherJob.java:56) ... 7 more Caused by: org.springframework.beans.FatalBeanException: Class [org.springframework.context.config.ContextNamespaceHandler] for namespace [http://www.springframework.org/schema/context] does not implement the [org.springframework.beans.factory.xml.NamespaceHandler] interface at org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.resolve(DefaultNamespaceHandlerResolver.java:125) at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1292) at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1287) at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:135) at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:92) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:507) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:398) ... 22 more 10/08/2009 14:45:00,044 [WorkManager.DefaultWorkManager : 0] DEBUG org.quartz.impl.jdbcjobstore.StdRowLockSemaphore - Lock 'TRIGGER_ACCESS' is desired by: WorkManager.DefaultWorkManager : 0 10/08/2009 14:45:00,044 [WorkManager.DefaultWorkManager : 0] DEBUG org.quartz.impl.jdbcjobstore.StdRowLockSemaphore - Lock 'TRIGGER_ACCESS' is being obtained: WorkManager.DefaultWorkManager : 0 10/08/2009 14:45:00,044 [WorkManager.DefaultWorkManager : 0] DEBUG org.quartz.impl.jdbcjobstore.StdRowLockSemaphore - Lock 'TRIGGER_ACCESS' given to: WorkManager.DefaultWorkManager : 0 10/08/2009 14:45:00,060 [WorkManager.DefaultWorkManager : 0] DEBUG org.quartz.impl.jdbcjobstore.StdRowLockSemaphore - Lock 'TRIGGER_ACCESS' returned by: WorkManager.DefaultWorkManager : 0
    via by Joy Vazapully,
  • JBOSS 7.1.1 Spring CXF error
    via by Unknown author,
  • Apache Camel CXF
    via by Unknown author,
  • Apache camel throwing linkage error
    via Stack Overflow by ronly2008
    ,
    • org.springframework.beans.FatalBeanException: Class [org.springframework.context.config.ContextNamespaceHandler] for namespace [http://www.springframework.org/schema/context] does not implement the [org.springframework.beans.factory.xml.NamespaceHandler] interface at org.springframework.beans.factory.xml.DefaultNamespaceHandlerResolver.resolve(DefaultNamespaceHandlerResolver.java:125) at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1292) at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1287) at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:135) at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:92) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:507) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:398)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor3 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    1 more bugmates