cancel
Showing results for 
Search instead for 
Did you mean: 

Deploying-Error: Reference runtime.classpath not found

emmkeys
Champ in-the-making
Champ in-the-making
Hello,

we tried to build the sample from the activiti screencast w-jax 2010 (http://www.bpm-guide.de/2010/11/19/camunda-w-jax-2010-screencasts-video/).
We’ve modeled a process, created a maven project and written the java-classes. The tasks of our model execute the according class. The component-test with JUnit works fine and our classes run as well.
Then we tried to call the process from the activiti-explorer. We build a form and deployed our process (deploy.bar, deploy.jar) with the build.xml to the ant-server. The process is visible in the explorer and when clicking “Start Form” our form appears. But the functions of our classes are not executed (simple System.outs).
In the eclipse ant-window the error-message “Reference classpath not found” is shown (as shown in the picture). Now we don’t know how to handle the error and how to continue. We would appreciate your help.

[img]http://www.landundstil.de/act.png[/img]

With friendly greetings
1 REPLY 1

frederikherema1
Star Contributor
Star Contributor
The eclipse warning you get is normal, since the classpath is resolved at ant-runtime (using variables). Can you check if the jar, containing your .class files is present in the tomcat/webapps/activiti-rest/lib/ folder?

Also, after having deployed the jar-file, your tomcat should be restarted to load the new classes (if you are using custom JavaDelegates eg).