I'm now setting up jbpm more traditionally through jbpm. The aim is to have it embedded in my app. When I try to create my entity manager to instantiate the task service though, I get the following exception:
javax.persistence.PersistenceException: [PersistenceUnit: org.jbpm.persistence.jpa] class or package not found
at org.hibernate.ejb.Ejb3Configuration.addNamedAnnotatedClasses(Ejb3Configuration.java:1092)
at org.hibernate.ejb.Ejb3Configuration.addClassesToSessionFactory(Ejb3Configuration.java:871)
at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:758)
at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:191)
at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:253)
Caused by: java.lang.ClassNotFoundException: org.drools.task.query.TaskSummary
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
The exception is obvious, but I had two questions:
1- Which jar has this class and where to I download it. I already have drools core and compiler jars.
2- Why do I need this jar. I think I have everything I need according to the documentation.
Thanks in advance for your help.