NoClassDefFoundError org.camunda.bpm.model.bpmn.instance


I’m writing a log plugin and I’m using ExecutionListener for log all activities. And now I want to find the Activity Type. For this I’m looking for “execution.getBpmnModelElementInstance()” but this can compile but in runtime send me this error: "
ENGINE-16004 Exception while closing command context: org/camunda/bpm/model/bpmn/instance/FlowElement: java.lang.NoClassDefFoundError: org/camunda/bpm/model/bpmn/instance/FlowElement "
I’m using camunda/camunda-bpm-platform:wildfly-7.13.0 (

Can you help me?
Best regards