-5

When i run the below program it getting errors messages

public class SavioDriver {
    public static void main(String[] args) {

        ProcessEngine processEngine = ProcessEngineConfiguration
        .createStandaloneInMemProcessEngineConfiguration()
        .buildProcessEngine();

    }

}

Can any one suggest which all jar files i need to include and run it properly?

aizaz
  • 3,056
  • 9
  • 25
  • 57
user2172485
  • 11
  • 1
  • 1
  • 2
    The user guide on activiti.org has a section titled "Include the Activiti jar and its dependencies" – Alderath May 13 '13 at 09:26
  • Without mentioning what error messages, you are getting, a person might guess what you might have got , but can't solve the problem. – Madhusudan Joshi May 13 '13 at 10:45
  • SavioDriver.java:7: cannot find symbol symbol : class ProcessEngine location: class SavioDriver ProcessEngine processEngine = ProcessEngineConfiguration ^ SavioDriver.java:7: cannot find symbol symbol : variable ProcessEngineConfiguration location: class SavioDriver ProcessEngine processEngine = ProcessEngineConfiguration ^ 2 errors This is the error jar files missing. – user2172485 May 13 '13 at 11:30

2 Answers2

0
processEngine = ProcessEngineConfiguration
               .createProcessEngineConfigurationFromResourceDefault()
               .buildProcessEngine();

Try this you may not get any error, provided you have added all the required jar files in your classpath.

Madhusudan Joshi
  • 4,438
  • 3
  • 26
  • 42
0

http://www.activiti.org/download.html, download the library and include the jar to your buildpath look at http://activiti.org/userguide/index.html#getting.started.including.libs to know which jar include exactly

Mathiewz
  • 11
  • 1