I am getting below error when Camunda tries to resume workflow execution after server restart.
'Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [Index of /schema/context] Offending resource: file [C:\project13112mysql_8080\wildfly\bin…\modules\system\layers\base\com\samplecompany\projectcenter\main\projectcenter-spring-beans.xml]
Plugins in pom.xml-
Line 317: <plugins>
Line 318: <plugin>
Line 319: <artifactId>maven-clean-plugin</artifactId>
Line 331: </plugin>
Line 332: <plugin>
Line 333: <groupId>org.apache.maven.plugins</groupId>
Line 334: <artifactId>maven-war-plugin</artifactId>
Line 355: </plugin>
Line 356: <plugin>
Line 357: <artifactId>maven-resources-plugin</artifactId>
Line 376: </plugin>
Line 377: <plugin>
Line 378: <artifactId>maven-antrun-plugin</artifactId>
Line 397: </plugin>
Line 398: <plugin>
Line 399: <groupId>org.apache.maven.plugins</groupId>
Line 400: <artifactId>maven-compiler-plugin</artifactId>
Line 407: </plugin>
Line 408: <plugin>
Line 409: <groupId>org.apache.maven.plugins</groupId>
Line 410: <artifactId>maven-surefire-plugin</artifactId>
Line 415: </plugin>
Line 416: </plugins>
Partial contents of projectcenter-spring-beans.xml-
<?xml version="1.0" encoding="UTF-8"?>
<beans:beans xmlns="http://www.springframework.org/schema/security"
xmlns:beans="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:tx="http://www.springframework.org/schema/tx"
xmlns:aop="http://www.springframework.org/schema/aop"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/security
http://www.springframework.org/schema/security/spring-security.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context.xsd
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx.xsd
http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop.xsd">
Stacktrace-
org.springframework.beans.factory.parsing.BeanDefinsamplecompanyonParsingException: Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/context]
Offending resource: file [C:\project13112mysql_8080\wildfly\bin\..\modules\system\layers\base\com\samplecompany\projectcenter\main\projectcenter-spring-beans.xml]
at org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:72)
at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:119)
at org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:111)
at org.springframework.beans.factory.xml.BeanDefinsamplecompanyonParserDelegate.error(BeanDefinsamplecompanyonParserDelegate.java:281)
at org.springframework.beans.factory.xml.BeanDefinsamplecompanyonParserDelegate.parseCustomElement(BeanDefinsamplecompanyonParserDelegate.java:1363)
at org.springframework.beans.factory.xml.BeanDefinsamplecompanyonParserDelegate.parseCustomElement(BeanDefinsamplecompanyonParserDelegate.java:1352)
at org.springframework.beans.factory.xml.DefaultBeanDefinsamplecompanyonDocumentReader.parseBeanDefinsamplecompanyons(DefaultBeanDefinsamplecompanyonDocumentReader.java:178)
at org.springframework.beans.factory.xml.DefaultBeanDefinsamplecompanyonDocumentReader.doRegisterBeanDefinsamplecompanyons(DefaultBeanDefinsamplecompanyonDocumentReader.java:148)
at org.springframework.beans.factory.xml.DefaultBeanDefinsamplecompanyonDocumentReader.registerBeanDefinsamplecompanyons(DefaultBeanDefinsamplecompanyonDocumentReader.java:98)
at org.springframework.beans.factory.xml.XmlBeanDefinsamplecompanyonReader.registerBeanDefinsamplecompanyons(XmlBeanDefinsamplecompanyonReader.java:507)
at org.springframework.beans.factory.xml.XmlBeanDefinsamplecompanyonReader.doLoadBeanDefinsamplecompanyons(XmlBeanDefinsamplecompanyonReader.java:391)
at org.springframework.beans.factory.xml.XmlBeanDefinsamplecompanyonReader.loadBeanDefinsamplecompanyons(XmlBeanDefinsamplecompanyonReader.java:335)
at org.springframework.beans.factory.xml.XmlBeanDefinsamplecompanyonReader.loadBeanDefinsamplecompanyons(XmlBeanDefinsamplecompanyonReader.java:303)
at org.springframework.beans.factory.support.AbstractBeanDefinsamplecompanyonReader.loadBeanDefinsamplecompanyons(AbstractBeanDefinsamplecompanyonReader.java:187)
at org.springframework.beans.factory.support.AbstractBeanDefinsamplecompanyonReader.loadBeanDefinsamplecompanyons(AbstractBeanDefinsamplecompanyonReader.java:223)
at org.springframework.beans.factory.support.AbstractBeanDefinsamplecompanyonReader.loadBeanDefinsamplecompanyons(AbstractBeanDefinsamplecompanyonReader.java:194)
at org.springframework.beans.factory.support.AbstractBeanDefinsamplecompanyonReader.loadBeanDefinsamplecompanyons(AbstractBeanDefinsamplecompanyonReader.java:258)
at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinsamplecompanyons(AbstractXmlApplicationContext.java:128)
at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinsamplecompanyons(AbstractXmlApplicationContext.java:94)
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:133)
at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:620)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:521)
at org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:142)
at org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:85)
at com.samplecompany.projectcenter.infrastructure.utils.SpringApplicationContext.init(SpringApplicationContext.java:45)
at com.samplecompany.projectcenter.infrastructure.utils.SpringApplicationContext.getDAOFactory(SpringApplicationContext.java:30)
at com.samplecompany.projectcenter.infrastructure.utils.DatabaseUtils.getFactory(DatabaseUtils.java:54)
at com.samplecompany.projectcenter.server.workflow.TranslatePreprocessing_DT_PS_CCS.execute(TranslatePreprocessing_DT_PS_CCS.java:104)
at org.camunda.bpm.engine.impl.bpmn.delegate.JavaDelegateInvocation.invoke(JavaDelegateInvocation.java:39)
at org.camunda.bpm.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:57)
at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocationInContext(DefaultDelegateInterceptor.java:90)
at org.camunda.bpm.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:62)
at org.camunda.bpm.engine.impl.bpmn.behavior.ServiceTaskJavaDelegateActivityBehavior.execute(ServiceTaskJavaDelegateActivityBehavior.java:54)
at org.camunda.bpm.engine.impl.bpmn.behavior.ServiceTaskJavaDelegateActivityBehavior.performExecution(ServiceTaskJavaDelegateActivityBehavior.java:43)
I am new to the Spring framework and Camunda. So not sure what is going on here. Would appreciate your help.