Spring application managed process engine throwing DOM exceptions

I downloaded an installed the camunda-bpm-tomcat, I use a MySql DB. I ran the sql scritps and went through the tutorials, made a workflow, deployed it, and was able to see it in the cockpit and everything is fine.

I then made a .jar file packed in a war. That jar file is configured for Spring managed application. Here is my config file:

<?xml version="1.0" encoding="UTF-8"?>

<bean id="bpmDataSource" class="org.springframework.jdbc.datasource.SimpleDriverDataSource">
<property name="driverClass" value="com.mysql.jdbc.Driver" />
<property name="url" value="jdbc:mysql://url.com:3306/camunda" />
<property name="username" value="camunda" />
<property name="password" value="password" />
</bean>

 <bean id="transactionManager" class="org.springframework.jdbc.datasource.DataSourceTransactionManager">
  <property name="dataSource" ref="bpmDataSource" />
 </bean>

 <bean id="processEngineConfiguration" class="org.camunda.bpm.engine.spring.SpringProcessEngineConfiguration">
<property name="dataSource" ref="bpmDataSource" />
<property name="transactionManager" ref="transactionManager" />
<property name="databaseSchemaUpdate" value="true" />
<property name="jobExecutorActivate" value="false" />
</bean>

<bean id="processEngine" class="org.camunda.bpm.engine.spring.ProcessEngineFactoryBean">
<property name="processEngineConfiguration" ref="processEngineConfiguration" />
</bean>

<bean id="repositoryService" factory-bean="processEngine" factory-method="getRepositoryService" />
<bean id="runtimeService" factory-bean="processEngine" factory-method="getRuntimeService" />
<bean id="taskService" factory-bean="processEngine" factory-method="getTaskService" />
<bean id="historyService" factory-bean="processEngine" factory-method="getHistoryService" />
<bean id="managementService" factory-bean="processEngine" factory-method="getManagementService" />

<bean id="bpmTest" class="com.me.workflow.test.CamundaTester" />

</beans>

When I deploy – to a completely separate container (another tomcat) I get an error on startup that my CamundaTester can instantiate because Unsatisfied dependency expressed through field ‘runtimeService’;

I am trying to Autowire the runtimeService into my class. The root error is:

org.camunda.bpm.engine.ProcessEngineException: Error while building ibatis SqlSessionFactory: Error parsing SQL Mapper Configuration. Cause: org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.w3c.dom.DOMException: Cannot insert node here.

What am I doing wrong?

Hi @mmaceachran,

Could you please share the entire stacktrace?

Cheers,
Roman

Hi @mmaceachran

In addition to full stacktrace, could you please also share your dependencies? mvn dependency:tree

Cheers,
Askar

Stack Trace:

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngine': FactoryBean threw exception on object creation; nested exception is org.camunda.bpm.engine.ProcessEngineException: Error while building ibatis SqlSessionFactory: Error parsing SQL Mapper Configuration. Cause: org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.w3c.dom.DOMException: Cannot insert node here.
	at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:175)
	at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:103)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1626)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:317)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
	at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:372)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1134)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1028)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
	at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:207)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1136)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1064)
	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:585)
	... 41 common frames omitted
Caused by: org.camunda.bpm.engine.ProcessEngineException: Error while building ibatis SqlSessionFactory: Error parsing SQL Mapper Configuration. Cause: org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.w3c.dom.DOMException: Cannot insert node here.
	at org.camunda.bpm.engine.impl.cfg.ProcessEngineConfigurationImpl.initSqlSessionFactory(ProcessEngineConfigurationImpl.java:1085)
	at org.camunda.bpm.engine.impl.cfg.ProcessEngineConfigurationImpl.init(ProcessEngineConfigurationImpl.java:686)
	at org.camunda.bpm.engine.impl.cfg.ProcessEngineConfigurationImpl.buildProcessEngine(ProcessEngineConfigurationImpl.java:649)
	at org.camunda.bpm.engine.spring.SpringProcessEngineConfiguration.buildProcessEngine(SpringProcessEngineConfiguration.java:63)
	at org.camunda.bpm.engine.spring.ProcessEngineFactoryBean.getObject(ProcessEngineFactoryBean.java:52)
	at org.camunda.bpm.engine.spring.ProcessEngineFactoryBean.getObject(ProcessEngineFactoryBean.java:31)
	at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:168)
	... 58 common frames omitted
Caused by: org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.w3c.dom.DOMException: Cannot insert node here.
	at org.apache.ibatis.builder.xml.XMLConfigBuilder.parseConfiguration(XMLConfigBuilder.java:109)
	at org.apache.ibatis.builder.xml.XMLConfigBuilder.parse(XMLConfigBuilder.java:92)
	at org.camunda.bpm.engine.impl.cfg.ProcessEngineConfigurationImpl.initSqlSessionFactory(ProcessEngineConfigurationImpl.java:1073)
	... 64 common frames omitted
Caused by: org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: org.w3c.dom.DOMException: Cannot insert node here.
	at org.apache.ibatis.builder.xml.XMLMapperBuilder.configurationElement(XMLMapperBuilder.java:120)
	at org.apache.ibatis.builder.xml.XMLMapperBuilder.parse(XMLMapperBuilder.java:92)
	at org.apache.ibatis.builder.xml.XMLConfigBuilder.mapperElement(XMLConfigBuilder.java:322)
	at org.apache.ibatis.builder.xml.XMLConfigBuilder.parseConfiguration(XMLConfigBuilder.java:107)
	... 66 common frames omitted
Caused by: org.w3c.dom.DOMException: Cannot insert node here.
	at org.allcolor.xml.parser.dom.ANode.insertBefore(ANode.java:1207)
	at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:48)
	at org.apache.ibatis.builder.xml.XMLIncludeTransformer.applyIncludes(XMLIncludeTransformer.java:54)
	at org.apache.ibatis.builder.xml.XMLStatementBuilder.parseStatementNode(XMLStatementBuilder.java:86)
	at org.apache.ibatis.builder.xml.XMLMapperBuilder.buildStatementFromContext(XMLMapperBuilder.java:135)
	at org.apache.ibatis.builder.xml.XMLMapperBuilder.buildStatementFromContext(XMLMapperBuilder.java:128)
	at org.apache.ibatis.builder.xml.XMLMapperBuilder.configurationElement(XMLMapperBuilder.java:118)
	... 69 common frames omitted

Dependency Tree:

[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ war ---
[INFO] com.xxx.web:war:war:1.0.0-SNAPSHOT
[INFO] +- com.xxx.web:core:jar:1.0.0-SNAPSHOT:compile
[INFO] |  +- com.fasterxml.jackson.core:jackson-annotations:jar:2.7.4:compile
[INFO] |  +- com.fasterxml.jackson.core:jackson-core:jar:2.7.4:compile
[INFO] |  +- com.fasterxml.jackson.core:jackson-databind:jar:2.7.4:compile
[INFO] |  +- com.xxx.dal:jdbc:jar:1.0.0-SNAPSHOT:compile
[INFO] |  |  +- com.xxx.dal:beans:jar:1.0.0-SNAPSHOT:compile
[INFO] |  |  \- org.springframework:spring-aop:jar:4.3.5.RELEASE:compile
[INFO] |  +- com.xxx.qqm:core:jar:1.0.0-SNAPSHOT:compile
[INFO] |  |  +- com.xxx.qqm:models:jar:1.0.0-SNAPSHOT:compile
[INFO] |  |  |  +- org.geotools:gt-main:jar:10.1:compile
[INFO] |  |  |  |  +- org.geotools:gt-api:jar:10.1:compile
[INFO] |  |  |  |  +- com.vividsolutions:jts:jar:1.13:compile
[INFO] |  |  |  |  \- jdom:jdom:jar:1.0:compile
[INFO] |  |  |  +- org.geotools:gt-shapefile:jar:10.1:compile
[INFO] |  |  |  +- org.geotools:gt-process:jar:10.1:compile
[INFO] |  |  |  |  +- org.geotools:gt-coverage:jar:10.1:compile
[INFO] |  |  |  |  |  +- it.geosolutions.imageio-ext:imageio-ext-tiff:jar:1.1.7:compile
[INFO] |  |  |  |  |  |  +- it.geosolutions.imageio-ext:imageio-ext-utilities:jar:1.1.7:compile
[INFO] |  |  |  |  |  |  \- javax.media:jai_codec:jar:1.1.3:compile
[INFO] |  |  |  |  |  +- org.jaitools:jt-zonalstats:jar:1.3.1:compile
[INFO] |  |  |  |  |  \- org.jaitools:jt-utils:jar:1.3.1:compile
[INFO] |  |  |  |  +- org.geotools:gt-cql:jar:10.1:compile
[INFO] |  |  |  |  \- javax.media:jai_imageio:jar:1.1:compile
[INFO] |  |  |  +- org.geotools:gt-epsg-hsql:jar:10.1:compile
[INFO] |  |  |  |  +- org.geotools:gt-referencing:jar:10.1:compile
[INFO] |  |  |  |  |  +- java3d:vecmath:jar:1.3.2:compile
[INFO] |  |  |  |  |  +- org.geotools:gt-metadata:jar:10.1:compile
[INFO] |  |  |  |  |  |  \- org.geotools:gt-opengis:jar:10.1:compile
[INFO] |  |  |  |  |  |     \- net.java.dev.jsr-275:jsr-275:jar:1.0-beta-2:compile
[INFO] |  |  |  |  |  \- jgridshift:jgridshift:jar:1.0:compile
[INFO] |  |  |  |  \- hsqldb:hsqldb:jar:1.8.0.7:compile
[INFO] |  |  |  +- org.geotools:gt-data:jar:10.1:compile
[INFO] |  |  |  +- org.geotools:gt-geojson:jar:10.1:compile
[INFO] |  |  |  |  \- com.googlecode.json-simple:json-simple:jar:1.1:compile
[INFO] |  |  |  \- org.jdom:jdom2:jar:2.0.5:compile
[INFO] |  |  +- org.hibernate:hibernate-entitymanager:jar:5.0.4.Final:compile
[INFO] |  |  |  +- org.jboss.logging:jboss-logging:jar:3.3.0.Final:compile
[INFO] |  |  |  +- dom4j:dom4j:jar:1.6.1:compile
[INFO] |  |  |  |  \- xml-apis:xml-apis:jar:1.0.b2:compile
[INFO] |  |  |  +- org.hibernate.common:hibernate-commons-annotations:jar:5.0.0.Final:compile
[INFO] |  |  |  \- org.hibernate.javax.persistence:hibernate-jpa-2.1-api:jar:1.0.0.Final:compile
[INFO] |  |  +- org.hibernate:hibernate-core:jar:5.0.4.Final:compile
[INFO] |  |  |  +- antlr:antlr:jar:2.7.7:compile
[INFO] |  |  |  \- org.jboss:jandex:jar:2.0.0.CR1:compile
[INFO] |  |  +- org.hibernate:hibernate-c3p0:jar:5.0.4.Final:compile
[INFO] |  |  |  \- com.mchange:c3p0:jar:0.9.2.1:compile
[INFO] |  |  |     \- com.mchange:mchange-commons-java:jar:0.2.3.4:compile
[INFO] |  |  +- org.python:jython-standalone:jar:2.7-b3:compile
[INFO] |  |  +- javax.mail:mail:jar:1.4:compile
[INFO] |  |  |  \- javax.activation:activation:jar:1.1:compile
[INFO] |  |  +- com.googlecode.jsmpp:jsmpp:jar:2.1.0-RELEASE:compile
[INFO] |  |  +- org.jasypt:jasypt:jar:1.9.2:compile
[INFO] |  |  +- org.reflections:reflections:jar:0.9.9-RC1:compile
[INFO] |  |  +- org.atteo:evo-inflector:jar:1.2:compile
[INFO] |  |  +- com.itextpdf:itextpdf:jar:5.4.2:compile
[INFO] |  |  +- org.bouncycastle:bcprov-jdk15on:jar:1.51:compile
[INFO] |  |  +- org.bouncycastle:bcmail-jdk15on:jar:1.51:compile
[INFO] |  |  |  \- org.bouncycastle:bcpkix-jdk15on:jar:1.51:compile
[INFO] |  |  +- org.xhtmlrenderer:core-renderer:jar:R8pre2:compile
[INFO] |  |  +- net.sf.jtidy:jtidy:jar:r938:compile
[INFO] |  |  +- com.google.code.maven-play-plugin.org.allcolor.shanidom:shani-parser:jar:1.4.17-patched-yahp-1.3:compile
[INFO] |  |  |  \- com.google.code.maven-play-plugin.org.allcolor.shanidom:jaxen:jar:1.1.1-patched-shani-1.4.17:compile
[INFO] |  |  +- com.itextpdf.tool:xmlworker:jar:5.4.1:compile
[INFO] |  |  +- com.google.code.maven-play-plugin.org.allcolor.yahp:yahp:jar:1.3:compile
[INFO] |  |  +- com.google.code.maven-play-plugin.org.allcolor.yahp:yahp-internal:jar:1.3:compile
[INFO] |  |  |  +- com.google.code.maven-play-plugin.net.sf.jtidy:jtidy:jar:r938:compile
[INFO] |  |  |  \- com.google.code.maven-play-plugin.org.xhtmlrenderer:core-renderer:jar:2011.04.16:compile
[INFO] |  |  +- com.google.code.maven-play-plugin.org.allcolor.shanidom:shani-xml-apis:jar:1.4.17:compile
[INFO] |  |  +- com.lowagie:itext:jar:2.1.7:compile
[INFO] |  |  |  +- bouncycastle:bcmail-jdk14:jar:138:compile
[INFO] |  |  |  +- bouncycastle:bcprov-jdk14:jar:138:compile
[INFO] |  |  |  \- org.bouncycastle:bctsp-jdk14:jar:1.38:compile
[INFO] |  |  |     +- org.bouncycastle:bcprov-jdk14:jar:1.38:compile
[INFO] |  |  |     \- org.bouncycastle:bcmail-jdk14:jar:1.38:compile
[INFO] |  |  +- net.sf.jasperreports:jasperreports:jar:6.2.1:compile
[INFO] |  |  |  +- commons-beanutils:commons-beanutils:jar:1.9.0:compile
[INFO] |  |  |  +- commons-collections:commons-collections:jar:3.2.2:compile
[INFO] |  |  |  +- commons-digester:commons-digester:jar:2.1:compile
[INFO] |  |  |  +- org.jfree:jcommon:jar:1.0.23:compile
[INFO] |  |  |  +- org.jfree:jfreechart:jar:1.0.19:compile
[INFO] |  |  |  +- org.eclipse.jdt.core.compiler:ecj:jar:4.3.1:compile
[INFO] |  |  |  +- org.codehaus.castor:castor-xml:jar:1.3.3:compile
[INFO] |  |  |  |  +- org.codehaus.castor:castor-core:jar:1.3.3:compile
[INFO] |  |  |  |  +- javax.inject:javax.inject:jar:1:compile
[INFO] |  |  |  |  +- stax:stax:jar:1.2.0:compile
[INFO] |  |  |  |  |  \- stax:stax-api:jar:1.0.1:compile
[INFO] |  |  |  |  \- javax.xml.stream:stax-api:jar:1.0-2:compile
[INFO] |  |  |  +- org.apache.lucene:lucene-core:jar:4.5.1:compile
[INFO] |  |  |  +- org.apache.lucene:lucene-analyzers-common:jar:4.5.1:compile
[INFO] |  |  |  +- org.apache.lucene:lucene-queryparser:jar:4.5.1:compile
[INFO] |  |  |  |  +- org.apache.lucene:lucene-queries:jar:4.5.1:compile
[INFO] |  |  |  |  \- org.apache.lucene:lucene-sandbox:jar:4.5.1:compile
[INFO] |  |  |  |     \- jakarta-regexp:jakarta-regexp:jar:1.4:compile
[INFO] |  |  |  \- com.google.zxing:core:jar:2.3.0:compile
[INFO] |  |  +- org.apache.poi:poi:jar:3.10-FINAL:compile
[INFO] |  |  +- org.codehaus.groovy:groovy-all:jar:1.7.0:compile
[INFO] |  |  |  \- jline:jline:jar:0.9.94:compile
[INFO] |  |  +- joda-time:joda-time:jar:2.0:compile
[INFO] |  |  +- org.mongodb:mongo-java-driver:jar:2.12.1:compile
[INFO] |  |  +- org.apache.httpcomponents:httpclient:jar:4.3.4:compile
[INFO] |  |  |  \- org.apache.httpcomponents:httpcore:jar:4.3.2:compile
[INFO] |  |  +- org.apache.httpcomponents:httpmime:jar:4.0.1:compile
[INFO] |  |  |  \- org.apache.james:apache-mime4j:jar:0.6:compile
[INFO] |  |  +- org.jsoup:jsoup:jar:1.8.1:compile
[INFO] |  |  \- com.stevewedig:blog:jar:2.0.2:compile
[INFO] |  |     \- com.google.guava:guava:jar:22.0-SNAPSHOT:compile (version selected from constraint [18.0,))
[INFO] |  |        +- com.google.code.findbugs:jsr305:jar:1.3.9:compile
[INFO] |  |        +- com.google.errorprone:error_prone_annotations:jar:2.0.15:compile
[INFO] |  |        +- com.google.j2objc:j2objc-annotations:jar:1.1:compile
[INFO] |  |        \- org.codehaus.mojo:animal-sniffer-annotations:jar:1.14:compile
[INFO] |  +- com.xxx.fwk:common:jar:1.0.0-SNAPSHOT:compile
[INFO] |  |  +- commons-io:commons-io:jar:2.4:compile
[INFO] |  |  +- org.apache.commons:commons-math3:jar:3.0:compile
[INFO] |  |  \- org.apache.commons:commons-csv:jar:1.1:compile
[INFO] |  +- com.xxx.fwk:cms:jar:1.0.0-SNAPSHOT:compile
[INFO] |  |  +- javax.jcr:jcr:jar:2.0:compile
[INFO] |  |  +- org.apache.tika:tika-core:jar:1.13:compile
[INFO] |  |  +- commons-cli:commons-cli:jar:1.3.1:compile
[INFO] |  |  +- commons-httpclient:commons-httpclient:jar:3.1:compile
[INFO] |  |  +- commons-codec:commons-codec:jar:1.10:compile
[INFO] |  |  \- com.amazonaws:aws-java-sdk:jar:1.10.16:compile
[INFO] |  |     +- com.amazonaws:aws-java-sdk-support:jar:1.10.16:compile
[INFO] |  |     +- com.amazonaws:aws-java-sdk-simpledb:jar:1.10.16:compile
[INFO] |  |     +- com.amazonaws:aws-java-sdk-simpleworkflow:jar:1.10.16:compile
[INFO] |  |     +- com.amazonaws:aws-java-sdk-storagegateway:jar:1.10.16:compile
[INFO] |  |     +- com.amazonaws:aws-java-sdk-route53:jar:1.10.16:compile
[INFO] |  |     +- com.amazonaws:aws-java-sdk-s3:jar:1.10.16:compile
[INFO] |  |     +- com.amazonaws:aws-java-sdk-importexport:jar:1.10.16:compile
[INFO] |  |     +- com.amazonaws:aws-java-sdk-sts:jar:1.10.16:compile
[INFO] |  |     +- com.amazonaws:aws-java-sdk-sqs:jar:1.10.16:compile
[INFO] |  |     +- com.amazonaws:aws-java-sdk-rds:jar:1.10.16:compile
[INFO] |  |     +- com.amazonaws:aws-java-sdk-redshift:jar:1.10.16:compile
[INFO] |  |     +- com.amazonaws:aws-java-sdk-elasticbeanstalk:jar:1.10.16:compile
[INFO] |  |     +- com.amazonaws:aws-java-sdk-glacier:jar:1.10.16:compile
[INFO] |  |     +- com.amazonaws:aws-java-sdk-iam:jar:1.10.16:compile
[INFO] |  |     +- com.amazonaws:aws-java-sdk-datapipeline:jar:1.10.16:compile
[INFO] |  |     +- com.amazonaws:aws-java-sdk-elasticloadbalancing:jar:1.10.16:compile
[INFO] |  |     +- com.amazonaws:aws-java-sdk-emr:jar:1.10.16:compile
[INFO] |  |     +- com.amazonaws:aws-java-sdk-elasticache:jar:1.10.16:compile
[INFO] |  |     +- com.amazonaws:aws-java-sdk-elastictranscoder:jar:1.10.16:compile
[INFO] |  |     +- com.amazonaws:aws-java-sdk-ec2:jar:1.10.16:compile
[INFO] |  |     +- com.amazonaws:aws-java-sdk-dynamodb:jar:1.10.16:compile
[INFO] |  |     +- com.amazonaws:aws-java-sdk-sns:jar:1.10.16:compile
[INFO] |  |     +- com.amazonaws:aws-java-sdk-cloudtrail:jar:1.10.16:compile
[INFO] |  |     +- com.amazonaws:aws-java-sdk-cloudwatch:jar:1.10.16:compile
[INFO] |  |     +- com.amazonaws:aws-java-sdk-logs:jar:1.10.16:compile
[INFO] |  |     +- com.amazonaws:aws-java-sdk-cognitoidentity:jar:1.10.16:compile
[INFO] |  |     +- com.amazonaws:aws-java-sdk-cognitosync:jar:1.10.16:compile
[INFO] |  |     +- com.amazonaws:aws-java-sdk-directconnect:jar:1.10.16:compile
[INFO] |  |     +- com.amazonaws:aws-java-sdk-cloudformation:jar:1.10.16:compile
[INFO] |  |     +- com.amazonaws:aws-java-sdk-cloudfront:jar:1.10.16:compile
[INFO] |  |     +- com.amazonaws:aws-java-sdk-kinesis:jar:1.10.16:compile
[INFO] |  |     +- com.amazonaws:aws-java-sdk-opsworks:jar:1.10.16:compile
[INFO] |  |     +- com.amazonaws:aws-java-sdk-ses:jar:1.10.16:compile
[INFO] |  |     +- com.amazonaws:aws-java-sdk-autoscaling:jar:1.10.16:compile
[INFO] |  |     +- com.amazonaws:aws-java-sdk-cloudsearch:jar:1.10.16:compile
[INFO] |  |     +- com.amazonaws:aws-java-sdk-cloudwatchmetrics:jar:1.10.16:compile
[INFO] |  |     +- com.amazonaws:aws-java-sdk-swf-libraries:jar:1.10.16:compile
[INFO] |  |     +- com.amazonaws:aws-java-sdk-codedeploy:jar:1.10.16:compile
[INFO] |  |     +- com.amazonaws:aws-java-sdk-codepipeline:jar:1.10.16:compile
[INFO] |  |     +- com.amazonaws:aws-java-sdk-kms:jar:1.10.16:compile
[INFO] |  |     +- com.amazonaws:aws-java-sdk-config:jar:1.10.16:compile
[INFO] |  |     +- com.amazonaws:aws-java-sdk-lambda:jar:1.10.16:compile
[INFO] |  |     +- com.amazonaws:aws-java-sdk-ecs:jar:1.10.16:compile
[INFO] |  |     +- com.amazonaws:aws-java-sdk-cloudhsm:jar:1.10.16:compile
[INFO] |  |     +- com.amazonaws:aws-java-sdk-ssm:jar:1.10.16:compile
[INFO] |  |     +- com.amazonaws:aws-java-sdk-workspaces:jar:1.10.16:compile
[INFO] |  |     +- com.amazonaws:aws-java-sdk-machinelearning:jar:1.10.16:compile
[INFO] |  |     +- com.amazonaws:aws-java-sdk-directory:jar:1.10.16:compile
[INFO] |  |     +- com.amazonaws:aws-java-sdk-efs:jar:1.10.16:compile
[INFO] |  |     +- com.amazonaws:aws-java-sdk-codecommit:jar:1.10.16:compile
[INFO] |  |     +- com.amazonaws:aws-java-sdk-devicefarm:jar:1.10.16:compile
[INFO] |  |     \- com.amazonaws:aws-java-sdk-core:jar:1.10.16:compile
[INFO] |  +- com.xxx.fwk:jdbc-services:jar:1.0.0-SNAPSHOT:compile
[INFO] |  |  \- org.springframework:spring-context:jar:4.3.5.RELEASE:compile
[INFO] |  +- com.xxx.fwk:services:jar:1.0.0-SNAPSHOT:compile
[INFO] |  +- com.xxx.workflow:core:jar:1.0.0-SNAPSHOT:compile
[INFO] |  |  \- org.python:jython:jar:2.7.0:compile
[INFO] |  +- com.xxx.workflow:bpm:jar:1.0.0-SNAPSHOT:compile
[INFO] |  |  +- org.camunda.bpm:camunda-bom:pom:7.6.0:import
[INFO] |  |  +- org.camunda.bpm:camunda-engine:jar:7.6.0:compile
[INFO] |  |  |  +- org.camunda.bpm.model:camunda-bpmn-model:jar:7.6.0:compile
[INFO] |  |  |  |  \- org.camunda.bpm.model:camunda-xml-model:jar:7.6.0:compile
[INFO] |  |  |  +- org.camunda.bpm.model:camunda-cmmn-model:jar:7.6.0:compile
[INFO] |  |  |  +- org.camunda.bpm.dmn:camunda-engine-dmn:jar:7.6.0:compile
[INFO] |  |  |  |  +- org.camunda.commons:camunda-commons-utils:jar:1.4.0:compile
[INFO] |  |  |  |  +- org.camunda.bpm.model:camunda-dmn-model:jar:7.6.0:compile
[INFO] |  |  |  |  +- org.camunda.bpm.dmn:camunda-engine-feel-api:jar:7.6.0:compile
[INFO] |  |  |  |  \- org.camunda.bpm.dmn:camunda-engine-feel-juel:jar:7.6.0:compile
[INFO] |  |  |  +- org.camunda.commons:camunda-commons-logging:jar:1.4.0:compile
[INFO] |  |  |  +- org.camunda.commons:camunda-commons-typed-values:jar:1.4.0:compile
[INFO] |  |  |  +- org.apache.commons:commons-email:jar:1.2:compile
[INFO] |  |  |  \- org.mybatis:mybatis:jar:3.2.8:compile
[INFO] |  |  \- org.camunda.bpm:camunda-engine-spring:jar:7.6.0:compile
[INFO] |  |     +- commons-lang:commons-lang:jar:2.4:compile
[INFO] |  |     \- commons-dbcp:commons-dbcp:jar:1.4:compile
[INFO] |  |        \- commons-pool:commons-pool:jar:1.5.4:compile
[INFO] |  +- com.xxx.workflow:service-stub:jar:1.0.0-SNAPSHOT:compile
[INFO] |  |  +- org.apache.cxf:cxf-rt-frontend-jaxws:jar:3.1.7:compile
[INFO] |  |  |  +- xml-resolver:xml-resolver:jar:1.2:compile
[INFO] |  |  |  +- org.apache.cxf:cxf-core:jar:3.1.7:compile
[INFO] |  |  |  |  +- org.codehaus.woodstox:woodstox-core-asl:jar:4.4.1:compile
[INFO] |  |  |  |  |  \- org.codehaus.woodstox:stax2-api:jar:3.1.4:compile
[INFO] |  |  |  |  \- org.apache.ws.xmlschema:xmlschema-core:jar:2.2.1:compile
[INFO] |  |  |  +- org.apache.cxf:cxf-rt-bindings-soap:jar:3.1.7:compile
[INFO] |  |  |  |  +- org.apache.cxf:cxf-rt-wsdl:jar:3.1.7:compile
[INFO] |  |  |  |  |  \- wsdl4j:wsdl4j:jar:1.6.3:compile
[INFO] |  |  |  |  \- org.apache.cxf:cxf-rt-databinding-jaxb:jar:3.1.7:compile
[INFO] |  |  |  |     +- com.sun.xml.bind:jaxb-impl:jar:2.2.11:compile
[INFO] |  |  |  |     \- com.sun.xml.bind:jaxb-core:jar:2.2.11:compile
[INFO] |  |  |  +- org.apache.cxf:cxf-rt-bindings-xml:jar:3.1.7:compile
[INFO] |  |  |  +- org.apache.cxf:cxf-rt-frontend-simple:jar:3.1.7:compile
[INFO] |  |  |  \- org.apache.cxf:cxf-rt-ws-addr:jar:3.1.7:compile
[INFO] |  |  |     \- org.apache.cxf:cxf-rt-ws-policy:jar:3.1.7:compile
[INFO] |  |  |        \- org.apache.neethi:neethi:jar:3.0.3:compile
[INFO] |  |  \- org.apache.cxf:cxf-rt-transports-http-jetty:jar:3.1.7:compile
[INFO] |  |     +- org.apache.cxf:cxf-rt-transports-http:jar:3.1.7:compile
[INFO] |  |     +- org.eclipse.jetty:jetty-server:jar:9.2.15.v20160210:compile
[INFO] |  |     |  \- javax.servlet:javax.servlet-api:jar:3.1.0:compile
[INFO] |  |     +- org.eclipse.jetty:jetty-util:jar:9.2.15.v20160210:compile
[INFO] |  |     +- org.eclipse.jetty:jetty-io:jar:9.2.15.v20160210:compile
[INFO] |  |     +- org.eclipse.jetty:jetty-security:jar:9.2.15.v20160210:compile
[INFO] |  |     +- org.eclipse.jetty:jetty-continuation:jar:9.2.15.v20160210:compile
[INFO] |  |     \- org.eclipse.jetty:jetty-http:jar:9.2.15.v20160210:compile
[INFO] |  +- com.xxx.gridunity:service:jar:1.0.0-SNAPSHOT:compile
[INFO] |  |  +- com.xxx.gridunity:messaging:jar:1.0.0-SNAPSHOT:compile
[INFO] |  |  |  \- com.xxx.gridunity:messaging-queue:jar:1.0.0-SNAPSHOT:compile
[INFO] |  |  |     +- com.rabbitmq:amqp-client:jar:3.1.2:compile
[INFO] |  |  |     \- com.xxx.gridunity:messaging-common:jar:1.0.0-SNAPSHOT:compile
[INFO] |  |  +- com.xxx.fwk:glmparser:jar:1.0.0-SNAPSHOT:compile
[INFO] |  |  |  \- org.antlr:antlr4:jar:4.1:compile
[INFO] |  |  |     +- org.antlr:antlr4-runtime:jar:4.1:compile
[INFO] |  |  |     |  \- org.abego.treelayout:org.abego.treelayout.core:jar:1.0.1:compile
[INFO] |  |  |     +- org.antlr:antlr-runtime:jar:3.5:compile
[INFO] |  |  |     |  \- org.antlr:stringtemplate:jar:3.2.1:compile
[INFO] |  |  |     \- org.antlr:ST4:jar:4.0.7:compile
[INFO] |  |  \- junit:junit:jar:4.12:compile
[INFO] |  |     \- org.hamcrest:hamcrest-core:jar:1.3:compile
[INFO] |  +- com.xxx.qqm:xform:jar:1.0.0-SNAPSHOT:compile
[INFO] |  |  \- com.jcraft:jsch:jar:0.1.53:compile
[INFO] |  +- org.springframework:spring-web:jar:4.3.5.RELEASE:compile
[INFO] |  |  +- org.springframework:spring-beans:jar:4.3.5.RELEASE:compile
[INFO] |  |  \- org.springframework:spring-core:jar:4.3.5.RELEASE:compile
[INFO] |  +- org.springframework:spring-webmvc:jar:4.3.5.RELEASE:compile
[INFO] |  |  \- org.springframework:spring-expression:jar:4.3.5.RELEASE:compile
[INFO] |  +- org.springframework:spring-tx:jar:4.3.5.RELEASE:compile
[INFO] |  +- org.springframework:spring-orm:jar:4.3.5.RELEASE:compile
[INFO] |  +- org.springframework:spring-jdbc:jar:4.3.5.RELEASE:compile
[INFO] |  +- org.springframework:spring-context-support:jar:4.3.5.RELEASE:compile
[INFO] |  +- org.springframework.security:spring-security-core:jar:4.2.1.RELEASE:compile
[INFO] |  |  \- aopalliance:aopalliance:jar:1.0:compile
[INFO] |  +- org.springframework.security:spring-security-web:jar:4.2.1.RELEASE:compile
[INFO] |  +- org.springframework.security:spring-security-config:jar:4.2.1.RELEASE:compile
[INFO] |  +- org.springframework.security:spring-security-taglibs:jar:4.2.1.RELEASE:compile
[INFO] |  |  \- org.springframework.security:spring-security-acl:jar:4.2.1.RELEASE:compile
[INFO] |  +- javax.transaction:jta:jar:1.1:compile
[INFO] |  +- org.javassist:javassist:jar:3.20.0-GA:compile
[INFO] |  +- javax.servlet:jstl:jar:1.2:compile
[INFO] |  +- cglib:cglib:jar:3.2.0:compile
[INFO] |  |  +- org.ow2.asm:asm:jar:5.0.3:compile
[INFO] |  |  \- org.apache.ant:ant:jar:1.9.4:compile
[INFO] |  |     \- org.apache.ant:ant-launcher:jar:1.9.4:compile
[INFO] |  +- net.tanesha.recaptcha4j:recaptcha4j:jar:0.0.7:compile
[INFO] |  +- com.google.code.gson:gson:jar:2.4:compile
[INFO] |  +- commons-fileupload:commons-fileupload:jar:1.3.1:compile
[INFO] |  +- taglibs:standard:jar:1.0.6:compile
[INFO] |  +- org.apache.commons:commons-lang3:jar:3.0:compile
[INFO] |  +- com.ibm.icu:icu4j:jar:56.1:compile
[INFO] |  +- org.freemarker:freemarker:jar:2.3.23:compile
[INFO] |  \- org.springframework:spring-test:jar:4.3.5.RELEASE:compile
[INFO] +- ch.qos.logback:logback-classic:jar:1.1.7:compile
[INFO] +- ch.qos.logback:logback-core:jar:1.1.7:compile
[INFO] +- org.apache.commons:commons-dbcp2:jar:2.1.1:compile
[INFO] |  +- org.apache.commons:commons-pool2:jar:2.4.2:compile
[INFO] |  \- commons-logging:commons-logging:jar:1.2:compile
[INFO] +- org.slf4j:jcl-over-slf4j:jar:1.7.21:compile
[INFO] \- org.slf4j:slf4j-api:jar:1.7.21:compile
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.228 s
[INFO] Finished at: 2017-02-15T09:32:51-05:00
[INFO] Final Memory: 24M/609M
[INFO] ------------------------------------------------------------------------

Update: I found this in the logs that might help:

The error may exist in org/camunda/bpm/engine/impl/mapping/entity/Comment.xml

The error occurred while processing #document_mapper_resultMap[commentResultMap_postgres]]) but failed to remove it when the web application was stopped.

I am using MySql, why does it say postgress result map there? Does that mean anything?