0
votes

When installing the JBPM with the full installer ( guide here ) it breaks with the message java.lang.ClassNotFoundException: org.apache.log4j.Category

I am working with jboss-5.1.0.GA and jbpm-4.4 - I have downloaded and followed the indications from its official site. After prompting the starting of jBoss (start.jboss) and the installation of the sample project (install.examples.into.jboss) the script fails with the above exception followed by the similar Error (java.lang.NoClassDefFoundError). The cmd I am using to launch the build is ant demo.setup.jboss.

I have also echoed the classpath of the jbpm-deploy command from ${jbpm.home}/examples/build.xml file and the log4j file, which contains the org.apache.log4j.Category class is there.

1

1 Answers

1
votes

After some digging, the issue I had was caused by the same root problem as the one from activemq No suitable Log constructor - I mean, conflicting jars.

I have removed the log4j.jar file from ${jbpm.home}/lib folder and the issue did not occur anymore.