码上敲享录 > activiti问题详解 > class path resource [processes/] cannot be resolved to URL because it does not exist

class path resource [processes/] cannot be resolved to URL because it does not exist

上一章章节目录下一章 2018-01-30已有13884人阅读 评论(0)

springboot整合activiti时报以下错误,原因是项目启动时检查流程文件

nested exception is java.io.FileNotFoundException: class path resource [processes/] cannot be resolved to URL because it does not exist。


解决方法(设置项目启动时不用检查流程文件)

(1)在resources下新建processes文件夹,将bpmn、bpmn.xml或bpmn20.xml(随便一个可行的流程图文件)放入其中即可。


(2)在application.yml中加 spring.activiti.check-process-definitions: false (注意false前有空格)。或者在application.properties中加spring.activiti.check-process-definitions=false


本文地址:http://www.yayihouse.com/yayishuwu/chapter/1090



13

有建议,请留言!

  • *您的姓名:

  • *所在城市:

  • *您的联系电话:

    *您的QQ:

  • 咨询问题:

  • 提 交