JBoss Community

Re: Instantiating a process in JBPM5

created by Imran Naqvi in jBPM - View the full discussion

Yes I have both those jars. Neither of those contain the class TaskSummary. If it helps my code snippet is:

LOG.info("starting jbpm");

      EntityManagerFactory emf = loadPrimaryConfig().buildEntityManagerFactory();//Persistence.createEntityManagerFactory("org.jbpm.persistence.jpa");

      TaskService taskService = new TaskService(emf, SystemEventListenerFactory.getSystemEventListener());

      TaskServiceSession taskSession = taskService.createSession();

 

 

The errors occur when I try to instatitiate the task service:  TaskService taskService = new TaskService(emf, SystemEventListenerFactory.getSystemEventListener());

Reply to this message by going to Community

Start a new discussion in jBPM at Community