首页 > 其他分享 >Camunda问题:src-resolve: Cannot resolve the name ‘extension‘ to a(n) ‘element declaration‘ component

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

时间:2024-03-22 21:31:29浏览次数:28  
标签:aa src resolve name bpmn column element line

问题描述

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

后台堆栈信息如下:

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的问题,果然解决了。

解决方法

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

标签:aa,src,resolve,name,bpmn,column,element,line
From: https://blog.csdn.net/liochaoo/article/details/136912382

相关文章

  • 不启动BMIDE,Teamcenter如何查看property的real property name
    问题描述:Teamcenter客户端,查看Item属性,属性名称默认显示的是DisplayName。在各类开发过程中,对属性的操作,需要使用realpropertyname才能进行。开发可能不在server端,没有安装BMIDE,如何在不启动BMIDE情况下,查看其realproperty?解决方案:客户端登录TCEdit-->OptionsO......
  • Kinetic Tournament Tree
    考虑这样一个问题:\(n\)个一次函数\(k_ix_i+b_i\),每个一次函数初始有\(x_i=0\);区间对\(x_i\)加正数\(x\),区间查询\(\max\limits_{i=l}^rk_ix_i+b_i\)。考虑每个点维护当\(x_i=0\)时值最大的函数,然后额外维护一个阈值\(t\),表示当\(x\)增大到\(t\)时这个......
  • JavaScript 实现通过 id 数组获取可展示的 name 拼接字符串
    JavaScript实现通过id数组获取可展示的name拼接字符串场景有一个包含许多对象的数组,每个对象都包含了一个标识(id)和一个名称(name)。想要从这个数组中选出特定的一些对象,这些对象的标识(id)在另一个数组中已经给出。然后,想把这些选出来的对象的名称(name)连接成一个字符串,用逗号分......
  • npm 错误,ERESOLVE unable to resolve dependency tree 解决方案
    参考:https://blog.csdn.net/qq_42055933/article/details/132098617 背景:当在使用npminstall时遇到“ERESOLVEunabletoresolvedependencytree”错误时,这通常是由于项目的依赖关系发生了冲突或不兼容问题。 方案一:在命令中增加 --legacy-peer-dep 选项或者--force......
  • CGroup和namespace的介绍以及区别
    namespace:namespace是Linux内核用来隔离内核资源的方式。通过namespace可以让一些进程只能看到与自己相关的一部分资源,而另外一些进程也只能看到与它们自己相关的资源,这两拨进程感受不到对方的存在。具体方式就是把一个或者多个进程的相关资源指定在同一个namespace中。Linuxnam......
  • using namespace 可以简化代码,但在实际开发中需要谨慎使用,特别是在较大的项目中!!!
    usingnamespace是C++中的一个语句,用于指定当前作用域内使用特定命名空间中的所有标识符,而无需每次都显式指定命名空间。这种语句可以简化代码编写,减少重复输入命名空间的需求,提高代码的可读性和简洁性。下面是一个示例,演示了usingnamespace的用法:#include<iostrea......
  • Linux环境运行python项目提示No module named '_ssl'
    版本python3.11.4控制台错误提醒File"/usr/local/python3/lib/python3.11/ssl.py",line100,in<module> import_ssl#ifwecan'timportit,lettheerrorpropagate ^^^^^^^^^^^ModuleNotFoundError:Nomodulenamed'_ssl'错误原因:ce......
  • Cannot resolve com.microsoft.sqlserver:sqljdbc4:4.0解决方案
    问题:<dependency> <groupId>com.microsoft.sqlserver</groupId> <artifactId>sqljdbc4</artifactId> <version>4.0</version></dependency>爆红解决方案1手动下载jar包MavenRepository:com.microsoft.sqlserver»sqljdbc4»4.0......
  • 290_Cannot resolve com.sun:tools:1.8 Cannot resolve com.sun:jconsole:1.8
    参考文档:https://www.jb51.net/article/194123.htm问题:maven加载报错Cannotresolvecom.sun:tools:1.8Cannotresolvecom.sun:jconsole:1.8解决:pom.xml引入时排除掉这两个依赖,再重新加载maven<dependency><groupId>com.alibaba</groupId>......
  • 解释nginx.conf.default 中关于fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_sc
    在nginx配置中,fastcgi_param指令用于定义传递给FastCGI服务器(如PHP-FPM)的参数。这些参数是FastCGI协议的一部分,用于在nginx和PHP-FPM之间传递关于请求的信息。在给出的配置片段中:nginxfastcgi_paramSCRIPT_FILENAME/scripts$fastcgi_script_name;这一行定义了一个FastCGI......