Cannot load class Engine 09017

I have used eclipse to set_up java class for each intermediate message start event: Having followed Nials Example in Video No5.

I copied the FQN of the java class into the jave class as :

“/BimProcess/src/main/java/org/camunda/bpm/archetype/BimProcess/TenderAssessmentStart.java”

As seen in the Screenshots below:

However on using Mavern install and starting through the process - it has a problem and cant find the class:

Caused by: org.camunda.bpm.engine.ClassLoadingException: ENGINE-09017 Cannot load class ‘/BimProcess/src/main/java/org/camunda/bpm/archetype/BimProcess/TenderAssessmentStart.java’: /BimProcess/src/main/java/org/camunda/bpm/archetype/BimProcess/TenderAssessmentStart.java
at org.camunda.bpm.engine.impl.util.EngineUtilLogger.classLoadingException(EngineUtilLogger.java:139)
at org.camunda.bpm.engine.impl.util.ReflectUtil.loadClass(ReflectUtil.java:111)
at org.camunda.bpm.engine.impl.util.ClassDelegateUtil.instantiateDelegate(ClassDelegateUtil.java:46)
… 205 more
Caused by: java.lang.ClassNotFoundException: /BimProcess/src/main/java/org/camunda/bpm/archetype/BimProcess/TenderAssessmentStart.java
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:416)
at org.camunda.bpm.engine.impl.util.ReflectUtil.loadClass(ReflectUtil.java:88)
… 206 more

WHen using mavern install and copying it to the tomcat location : webapps, it puts the classes into the following location:

cAMUNDA\server\apache-tomcat-9.0.19\webapps\BimProcess\WEB-INF\classes\org\camunda\bpm\archetype\BimProcess

All fixed :slight_smile: - I copied the wrong name - i should have coppied the class!!!

1 Like