Related: Can't Autowire Other Class When Using TaskListener
Same issue from years ago https://groups.google.com/forum/m/#!topic/camunda-bpm-users/7hbfa7CuhRw
Same problem again: Depending on how the JavaDelegate class is included in the bpmn file a Spring Bean is instantiated or not