Camunda问题:src-resolve: Cannot resolve the name ‘extension‘ to a(n) ‘element declaration‘ component

用户在使用云程低代码平台创建流程模板时遇到Camunda7相关报错,源于部署目录包含中文。解决方法是将应用部署到无中文路径下,问题得以解决。
摘要由CSDN通过智能技术生成

问题描述

今天,小伙伴在使用云程低代码平台创建流程模板时,出现了报错,如下图:

后台堆栈信息如下:

ENGINE-16004 Exception while closing command context: ENGINE-09005 Could not parse BPMN process. Errors:
* src-resolve: Cannot resolve the name 'extension' to a(n) 'element declaration' component. | aa.bpmn | line 15 | column 70
* src-resolve: Cannot resolve the name 'rootElement' to a(n) 'element declaration' component. | aa.bpmn | line 16 | column 72
* src-resolve: Cannot resolve the name 'bpmndi:BPMNDiagram' to a(n) 'element declaration' component. | aa.bpmn | line 17 | column 79
* src-resolve: Cannot resolve the name 'relationship' to a(n) 'element declaration' component. | aa.bpmn | line 18 | column 73
* cvc-complex-type.2.4.a: Invalid content was found starting with element 'bpmn:process'. One of '{"http://www.omg.org/spec/BPMN/20100524/MODEL":import}' is expected. | aa.bpmn | line 3 | column 68
org.camunda.bpm.engine.ProcessEngineException: ENGINE-09005 Could not parse BPMN process. Errors:
* src-resolve: Cannot resolve the name 'extension' to a(n) 'element declaration' component. | aa.bpmn | line 15 | column 70
* src-resolve: Cannot resolve the name 'rootElement' to a(n) 'element declaration' component. | aa.bpmn | line 16 | column 72
* src-resolve: Cannot resolve the name 'bpmndi:BPMNDiagram' to a(n) 'element declaration' component. | aa.bpmn | line 17 | column 79
* src-resolve: Cannot resolve the name 'relationship' to a(n) 'element declaration' component. | aa.bpmn | line 18 | column 73
* cvc-complex-type.2.4.a: Invalid content was found starting with element 'bpmn:process'. One of '{"http://www.omg.org/spec/BPMN/20100524/MODEL":import}' is expected. | aa.bpmn | line 3 | column 68

小伙伴是本地开发环境启动的,只有他有这个问题,其他人没有这个问题。

云程低代码平台的流程引擎是基于Camunda7进行封装的,查到了网上有人遇到过flowable出现过的类似问题,使用相同的方式解决camunda的问题,果然解决了。

解决方法

原因是应用的部署目录有中文,我们把应用部署在没有中文的路径下,就可以了。

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值