[jboss-user] [jBPM] - Startup problem cause java.lang.ClassNotFoundException: org.drools.persistence.processinstance.WorkItemInfo

Pierpaolo Lombardi do-not-reply at jboss.com
Fri Aug 12 07:42:45 EDT 2011


Pierpaolo Lombardi [http://community.jboss.org/people/pierx83] created the discussion

"Startup problem cause java.lang.ClassNotFoundException: org.drools.persistence.processinstance.WorkItemInfo"

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

--------------------------------------------------------------
Hi, I'm new in the JBOSS world so I'm sorry for my (stupid?) questions  :) 
I installed JBoss 5.1 and jbpm-gwt-console.war and jbpm-gwt-console-server.war (JBPM 5.1).
The Drools versions is the 5.2 (this is provided in bundle with the JBPM downloaded stuff).

Unfortunately, during JBoss startup the following error occurs:

+Caused by: java.lang.ClassNotFoundException: org.drools.persistence.processinstance.WorkItemInfo+

I checked in the drools core jar provided by jbpm and this class is not present. 
I added drools-persistence-jpa-5.0.1.jar (cause this jar contains the missing class) and this time the following error occurs:

+java.lang.NoClassDefFoundError: org/drools/marshalling/impl/ProcessInstanceMarshaller+

cause there is no suck class in the Drools jars. So I added also drools-core-5.0.1.jar (cause it contains the last missing class) and no problem occurred during startup.In this case, when I ask for the service  http://localhost:8080/gwt-console-server/rs/process/definitions http://localhost:8080/gwt-console-server/rs/process/definitions the following error occurs:

+java.lang.NoSuchMethodError: org.drools.util.ChainedProperties.<init>(Ljava/lang/String;Ljava/lang/ClassLoader;Z)V+

It seems as a different version of the Drools library is used instead of the expected one (probably this is due to the adding of the jars I did to solve the first two missing class exception).

I have no idea how I can solve it...Any help will be appreciate.
Thanks  in advance,
Pierpaolo
--------------------------------------------------------------

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

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/20110812/2e32e0e5/attachment.html 


More information about the jboss-user mailing list