zoukankan      html  css  js  c++  java
  • org.activiti.api.runtime.shared.UnprocessableEntityException

    报错原因

    启动流程实例时出现org.activiti.api.runtime.shared.UnprocessableEntityException: Process definition with the given id:‘zx:1:70693c00-39e9-11eb-83a7-00ff1ec9ac8e’ belongs to a different application version.

    解决方案摘自别处

    The new logic will be used when a project manifest file is set via the property project.manifest.file.path. Here is an example. All the versions of process definitions will be bumped up when the version of project changes inside the manifest file.

    解决方法

    1. 在resources目录下创建default-project.json文件
    {
      "createdBy": "zl",
      "creationDate": "2021-01-19",
      "lastModifiedBy": "qa-modeler-1",
      "lastModifiedDate": "",
      "id": "c519a458-539f-4385-a937-2edfb4045eb9",
      "name": "project",
      "description": "",
      "version": "1"
    }
    1. 在application.yml文件中添加如下内容
    project:
      manifest:
        file:
          path: classpath:/default-project.json
    心有所想,必有回响
  • 相关阅读:
    js简单的下拉选中效果
    简单的JS+HTML+CSS达成图片轮播
    JQ延时对象
    javascript特效----碰壁运动
    PHP---封装
    PHP---面向对象
    PHP----基础
    MySQL查询实例
    JS下拉列表
    MySQL基础操作
  • 原文地址:https://www.cnblogs.com/zhulei2/p/14298751.html
Copyright © 2011-2022 走看看