获取错误 - 无法读取模式文档 - JBPM

Getting Error - Failed to Read Schema Document - JBPM

在 Tomcat 容器中引导 JBPM 应用程序时出现以下错误。我正在使用 BPMN 2.0 Eclipse 插件创建流程 XML。

Failed to read schema document 'http://www.omg.org/spec/BPMN/20100524/DI-XMI', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsdchema>.

谷歌搜索表明这是 Eclipse 插件的错误。但到目前为止我没有找到任何解决方案。

最终服务器正在启动并且进程正在启动,但是由于这些警告,该进程花费了很多时间,超过 3 小时。

有什么帮助吗?

所以问题已经确定。瓶颈是 http://www.omg.org/spec/BPMN/20100524 命名空间。 XSD 的 BPM XML 文件中包含几个这样的命名空间。但是他们没有加载。根本原因是 BPMN2 插件的 Eclipse 插件错误会在 XML 文件中生成不正确的 XSD 定义。通过删除除 BPMN2.0.xsd 之外的所有 XSD 定义,它可以正确启动。

I have cross posted this answer from another answer of mine.