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

Spring JIRA | Joy Vazapully | 7 years ago
  1. 0

    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

    Spring JIRA | 7 years ago | Joy Vazapully
    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
  2. 0

    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

    Spring JIRA | 7 years ago | Joy Vazapully
    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
  3. 0

    spring program - BeanDefinitionStoreException after launching

    Stack Overflow | 3 years ago | nazar_art
    org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [Beans.xml]; nested exception is java.io.FileNotFoundException: class path resource [Beans.xml] cannot be opened because it does not exist
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I cann't run my first Spring application, Hello World? I have added all the jars

    Stack Overflow | 3 years ago | link
    org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [Beans.xml]; nested exception is java.io.FileNotFoundException: class path resource [Beans.xml] cannot be opened because it does not exist
  6. 0

    NoSuchMethodError: registerAutoProxyCreatorIfNecessary with Spring 4, Hibernate 4 and Maven 3

    Stack Overflow | 2 years ago | Annie Caron
    org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [hibernate-config.xml]; nested exception is java.lang.NoSuchMethodError: org.springframework.aop.config.AopNamespaceUtils.registerAutoProxyCreatorIfNecessary(Lorg/springframework/beans/factory/xml/ParserContext;Ljava/lang/Object;)V

  1. andyglick 20 times, last 3 months ago
  2. Bugger 1 times, last 7 months ago
27 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. 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()
  2. Spring Beans
    AbstractBeanDefinitionReader.loadBeanDefinitions
    1. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:420)
    2. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:342)
    3. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)
    4. org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
    4 frames
  3. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:109)
    2. org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:80)
    3. org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)
    4. org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:422)
    5. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
    5 frames
  4. Spring Batch Core
    ClassPathXmlJobRegistry.getJob
    1. org.springframework.batch.core.configuration.support.ClassPathXmlApplicationContextFactory$ResourceXmlApplicationContext.<init>(ClassPathXmlApplicationContextFactory.java:83)
    2. org.springframework.batch.core.configuration.support.ClassPathXmlApplicationContextFactory$ResourceXmlApplicationContext.<init>(ClassPathXmlApplicationContextFactory.java:81)
    3. org.springframework.batch.core.configuration.support.ClassPathXmlApplicationContextFactory.createApplicationContext(ClassPathXmlApplicationContextFactory.java:70)
    4. org.springframework.batch.core.configuration.support.ApplicationContextJobFactory.createJob(ApplicationContextJobFactory.java:55)
    5. org.springframework.batch.core.configuration.support.MapJobRegistry.getJob(MapJobRegistry.java:81)
    6. org.springframework.batch.core.configuration.support.ClassPathXmlJobRegistry.getJob(ClassPathXmlJobRegistry.java:59)
    6 frames
  5. com.te.jpay
    BatchJobLauncherJob.executeInternal
    1. com.te.jpay.services.scheduling.BatchJobLauncherJob.executeInternal(BatchJobLauncherJob.java:56)
    1 frame