hi,
when I validate the eclipse project the compiler doesn't give me any problems or warnings. I have solved the report in the bpmn20.xml file but I'm not able to solve the exception in the Activiti Explorer. I have inserted the .jar file in different directories: C:\activiti-5.8\apps\apache-tomcat-6.0.32\webapps\activiti-explorer\WEB-INF\lib , C:\activiti-5.8\apps\apache-tomcat-6.0.32\webapps\activiti-rest\WEB-INF\lib ,
C:\activiti-5.8\apps\apache-tomcat-6.0.32\lib . I have the same problem when i use the listeners.
I attach the modified code:
<process id="provaJavaDelegate" name="delegateJar">
<startEvent id="startevent1" name="Start"></startEvent>
<userTask id="usertask1" name="inserimento dati libro1" activiti:candidateGroups="accountancy"></userTask>
<userTask id="usertask2" name="verifica disponibilita libro1" activiti:candidateGroups="management"></userTask>
<serviceTask id="servicetask1"
activiti:class="org.activiti.examples.bpmn.servicetask.BackwardsCompatibleExpressionDelegate" name="javaCode">
</serviceTask>
<endEvent id="endevent1" name="End"></endEvent>
<sequenceFlow id="flow1" name="" sourceRef="startevent1" targetRef="usertask1"></sequenceFlow>
<sequenceFlow id="flow2" name="" sourceRef="usertask1" targetRef="usertask2"></sequenceFlow>
<sequenceFlow id="flow3" name="" sourceRef="usertask2" targetRef="servicetask1"></sequenceFlow>
<sequenceFlow id="flow4" name="" sourceRef="servicetask1" targetRef="endevent1"></sequenceFlow>
</process>
public class BackwardsCompatibleExpressionDelegate implements JavaDelegate {
public void execute(DelegateExecution execution) throws Exception {
System.out.println(" I am in BackwardsCompatibleExpressionDelegate….");
}
}
and a screen shot of my project
I'm sorry for the numerous messages but I need to solve this problem form my thesis.
best regards,