Hi,
I am getting the exception while running the Activiti application.
Please help me to resolve this.
Here is my Exception stack trace..
Exception in thread "main" org.activiti.ActivitiException: Error while building ibatis SqlSessionFactory: Error parsing SQL Mapper Configuration. Cause: java.lang.RuntimeException: Error parsing Mapper XML. Cause: org.apache.ibatis.builder.BuilderException: Could not determine javaType for result property processDefinitionId using javaType null
at org.activiti.impl.persistence.IbatisPersistenceSessionFactory.createSessionFactory(IbatisPersistenceSessionFactory.java:222)
at org.activiti.impl.persistence.IbatisPersistenceSessionFactory.<init>(IbatisPersistenceSessionFactory.java:199)
at org.activiti.impl.cfg.ProcessEngineFactory.createDefaultPersistenceSessionFactory(ProcessEngineFactory.java:239)
at org.activiti.impl.cfg.ProcessEngineFactory.init(ProcessEngineFactory.java:132)
at org.activiti.impl.cfg.ProcessEngineFactory.createProcessEngine(ProcessEngineFactory.java:169)
at org.activiti.DbProcessEngineBuilder.buildProcessEngine(DbProcessEngineBuilder.java:214)
at Main.main(Main.java:22)
Caused by: org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java.lang.RuntimeException: Error parsing Mapper XML. Cause: org.apache.ibatis.builder.BuilderException: Could not determine javaType for result property processDefinitionId using javaType null
at org.apache.ibatis.builder.xml.XMLConfigBuilder.parseConfiguration(XMLConfigBuilder.java:68)
at org.apache.ibatis.builder.xml.XMLConfigBuilder.parse(XMLConfigBuilder.java:53)
at org.activiti.impl.persistence.IbatisPersistenceSessionFactory.createSessionFactory(IbatisPersistenceSessionFactory.java:217)
… 6 more
Caused by: java.lang.RuntimeException: Error parsing Mapper XML. Cause: org.apache.ibatis.builder.BuilderException: Could not determine javaType for result property processDefinitionId using javaType null
at org.apache.ibatis.builder.xml.XMLMapperBuilder.configurationElement(XMLMapperBuilder.java:59)
at org.apache.ibatis.builder.xml.XMLMapperBuilder.parse(XMLMapperBuilder.java:39)
at org.apache.ibatis.builder.xml.XMLConfigBuilder.mapperElement(XMLConfigBuilder.java:226)
at org.apache.ibatis.builder.xml.XMLConfigBuilder.parseConfiguration(XMLConfigBuilder.java:66)
… 8 more
Caused by: org.apache.ibatis.builder.BuilderException: Could not determine javaType for result property processDefinitionId using javaType null
at org.apache.ibatis.builder.MapperBuilderAssistant.resolveResultJavaType(MapperBuilderAssistant.java:323)
at org.apache.ibatis.builder.MapperBuilderAssistant.assembleResultMapping(MapperBuilderAssistant.java:300)
at org.apache.ibatis.builder.MapperBuilderAssistant.buildResultMapping(MapperBuilderAssistant.java:142)
at org.apache.ibatis.builder.xml.XMLMapperBuilder.buildResultMappingFromContext(XMLMapperBuilder.java:210)
at org.apache.ibatis.builder.xml.XMLMapperBuilder.resultMapElement(XMLMapperBuilder.java:147)
at org.apache.ibatis.builder.xml.XMLMapperBuilder.resultMapElement(XMLMapperBuilder.java:120)
at org.apache.ibatis.builder.xml.XMLMapperBuilder.resultMapElements(XMLMapperBuilder.java:115)
at org.apache.ibatis.builder.xml.XMLMapperBuilder.configurationElement(XMLMapperBuilder.java:55)
… 11 more