[jboss-user] [jBPM] - Re: Instantiating a process in JBPM5

Imran Naqvi do-not-reply at jboss.com
Fri Aug 26 19:23:28 EDT 2011


Imran Naqvi [http://community.jboss.org/people/imran.h] created the discussion

"Re: Instantiating a process in JBPM5"

To view the discussion, visit: http://community.jboss.org/message/623285#623285

--------------------------------------------------------------
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.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/623285#623285]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110826/1ebc609c/attachment.html 


More information about the jboss-user mailing list