错误原因:Tomcat8.x与activiti6.0依赖冲突导致
解决方法:
1.修改tomcat版本
2.在pom.xml中修改
在依赖中把
<dependency> <groupId>org.activiti</groupId> <artifactId>activiti-engine</artifactId> <version>6.0.0</version> </dependency>
换为
<dependency> <groupId>org.activiti</groupId> <artifactId>activiti-engine</artifactId> <version>6.0.0</version> <exclusions> <exclusion> <groupId>de.odysseus.juel</groupId> <artifactId>juel-spi</artifactId> </exclusion> </exclusions> </dependency>
加了个exclusion,意思就是去掉依赖,这里在Aactiviti中去掉了juel-spi的依赖。问题解决!
---------------------
【转】原文:https://blog.csdn.net/a923327116/article/details/79726898