Intellij idea Intellij无法识别bpmn的xml

Intellij idea Intellij无法识别bpmn的xml,intellij-idea,Intellij Idea,这件事刚开始在任何地方发生。我有一个现有的Activiti项目。我已经安装了Activiti BPMN可视化工具插件。现在,在我的每个.bpmn20.xml文件中,Idea都说“必须声明元素x”或“无法解析符号”,下面是一个示例: <?xml version="1.0" encoding="UTF-8"?> <definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MOD

这件事刚开始在任何地方发生。我有一个现有的Activiti项目。我已经安装了Activiti BPMN可视化工具插件。现在,在我的每个.bpmn20.xml文件中,Idea都说“必须声明元素x”或“无法解析符号”,下面是一个示例:

<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:activiti="http://activiti.org/bpmn"
         xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"
         xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI"
         typeLanguage="http://www.w3.org/2001/XMLSchema" expressionLanguage="http://www.w3.org/1999/XPath"
         targetNamespace="http://www.activiti.org/processdef">
<process id="test" name="test" isExecutable="true">
</process>
<bpmndi:BPMNDiagram id="BPMNDiagram_test">
    <bpmndi:BPMNPlane bpmnElement="test" id="BPMNPlane_test">
    </bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</definitions>


定义和流程的标记显示为红色,问题选项卡中有错误。名称空间标记(例如bpmndi:BPMNDiagram)很好。发生了什么以及如何修复它?

如果突然发生,请尝试重新启动ide