I am trying to create a junit test for my bpmn process engine (v6.4.1) that is embedded in a SpringBoot application.
When starting the process, I get an “org.flowable.common.engine.api.FlowableException: couldn’t instantiate class com…” exception.
The class it is trying to load is a ‘start’ listener on the first service task in the flow. I have triple-checked that the fully qualified class name matches what is compiled and in the target folder.
Any ideas on why the engine is unable to find my class? Please let me know if you need more information.
Thanks,
Eric
error:
org.flowable.common.engine.api.FlowableException: couldn't instantiate class com.mycompany.oem.controller.deck.service.scan.listener.MoveXYStartExcecutionListener