activiti The content of element type "when" must match "(include|

报错为一个xml配置。但是根本没有这个when的配置。
我项目的xml也没有900多行,最多200行。

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'processEngine': FactoryBean threw exception on object creation; nested exception is org.activiti.engine.ActivitiException: Error while building ibatis SqlSessionFactory: Error parsing SQL Mapper Configuration. Cause: org.apache.ibatis.builder.BuilderException: Error creating document instance. Cause: org.xml.sax.SAXParseException; lineNumber: 936; columnNumber: 24; 元素类型为 "when" 的内容必须匹配 "(include|trim|where|set|foreach|choose|if)"。

在论坛上找到了 问题的答案  就是版本冲突了 。

论坛地址:http://ask.csdn.net/questions/654023

猜你喜欢

转载自blog.csdn.net/liu123342/article/details/79093312