AnsweredAssumed Answered

Using Activiti without spring

Question asked by challengeactiviti on Jun 4, 2013
Latest reply on Jan 21, 2014 by martin.grofcik
hi,

i just started using Activiti. I am using Eclipse.
I imported Jars from the Activiti program libs folder into Eclipse and crated a ProcessEngineConfiguration as described in the tutorials.

Doing:
  ProcessEngineConfiguration.createProcessEngineConfigurationFromResourceDefault();
OR:
  ProcessEngineConfiguration.
        createProcessEngineConfigurationFromInputStream(System.in);

Creates:
  Caused by: java.lang.ClassNotFoundException: org.springframework.core.io.Resource

(I have the activiti.cfg.xml in the src/ directory)

Doing:
    ProcessEngineConfiguration.createStandaloneProcessEngineConfiguration();
Creates:
   java.lang.ClassNotFoundException: org.apache.ibatis.transaction.TransactionFactory

Not sure why spring is required

Outcomes