org.activiti.engine.ActivitiException: Found Activiti 5 process definition, but no compatibility handler on the classpath

一.bug场景

      1.springboot整合activiti6.0的时候 发生的 pom中activiti只引用了如下包


<dependency>
   <groupId>org.activiti</groupId>
   <artifactId>activiti-spring-boot-starter-basic</artifactId>
   <version>6.0.0</version>
</dependency>


二.运行报错

org.activiti.engine.ActivitiException: Found Activiti 5 process definition, but no compatibility handler on the classpath

解决方案

<dependency>
    <groupId>org.activiti</groupId>
    <artifactId>activiti5-engine</artifactId>
    <version>6.0.0</version>
</dependency>


====亲测可用=====>如还未解决排查下其他原因.