cancel
Showing results for 
Search instead for 
Did you mean: 

Getting Exception while runnig activiti application

krishna_v174
Champ in-the-making
Champ in-the-making
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
3 REPLIES 3

krishna_v174
Champ in-the-making
Champ in-the-making
Hi All,
It is really helpful for me ,if i get the solution.

trademak
Star Contributor
Star Contributor
Ok, could you explain what you are doing? With only this stack trace I can't say much. Are you deploying a specific process definition? What's the configuration of your process engine?

Best regards,

krishna_v174
Champ in-the-making
Champ in-the-making
I am completely new to Activiti. I just started with the sample HelloWorld application .

and Whenever i am running the Main.java getting that Exception.

Here i m attaching my project as well. please change the file extension .txt to .rar
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.