activity启动报错no processes deployed with key '***'

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了activity启动报错no processes deployed with key '***'相关的知识,希望对你有一定的参考价值。

参考技术A 问题描述:

springboot整合activity启动流程报错

org.activiti.engine.ActivitiObjectNotFoundException: no processes deployed with key 'myProcess_11'

at org.activiti.engine.impl.persistence.deploy.DeploymentManager.findDeployedLatestProcessDefinitionByKey(DeploymentManager.java:85)

at org.activiti.engine.impl.cmd.StartProcessInstanceCmd.execute(StartProcessInstanceCmd.java:85)

at org.activiti.engine.impl.cmd.StartProcessInstanceCmd.execute(StartProcessInstanceCmd.java:37)

at org.activiti.engine.impl.interceptor.CommandInvoker$1.run(CommandInvoker.java:37)

at org.activiti.engine.impl.interceptor.CommandInvoker.executeOperation(CommandInvoker.java:78)

at org.activiti.engine.impl.interceptor.CommandInvoker.executeOperations(CommandInvoker.java:57)

问题分析:

没有找到部署的流程定义

解决方案:

select * from act_re_procdef;

在这张表中找到对应的key,再启动流程,如果没有,证明部署流程定义失败。

springboot整合activiti报错[processes/]不存在解决方案

springboot整合activiti时,启动抛异常 
nested exception is java.io.FileNotFoundException: class path resource [processes/] cannot be resolved to URL because it does not exist。处理方法 
(1)在resource目录下添加processes文件夹,并且文件夹不能为空 
(2)在application.properties下家配置

#启动报错class path resource [processes/] cannot be resolved to URL because it does not exist
spring.activiti.check-process-definitions=false
技术分享图片

启动时不检查流程文件





以上是关于activity启动报错no processes deployed with key '***'的主要内容,如果未能解决你的问题,请参考以下文章

自定义容器启动脚本报错:exec user process caused "no such file or directory"

ERROR (no such process)

ES报错Native controller process has stopped - no new native processes can be started

mac 虚拟机启动网络报错Connection activation failed: No suitable device found for this connection

es报错:Native controller process has stopped - no

mysql启动报错排查