JBoss Community

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

created by Pierpaolo Lombardi in jBPM - View the full discussion

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

Start a new discussion in jBPM at Community