flowable审批流出现的奇怪问题

提问 1 518
版本:renren-security 3.7.0 开发环境:
org.flowable.bpmn.exceptions.XMLException: Source parameter of type 'javax.xml.transform.stax.StAXSource' is not accepted by this validator. 代码: ProcessDefinition processDefinition = repositoryService.createProcessDefinitionQuery() .deploymentId(deployment.getId()) .singleResult(); 死活解析不了xml ; xml解析内容 <bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:flowable="http://flowable.org/bpmn" id="diagram_process_1699035358608" targetNamespace="http://flowable.org/bpmn"> <bpmn2:process id="process_1699035358608" name="销售订单审批流" isExecutable="true"> <bpmn2:startEvent id="Event_0998db5"> <bpmn2:outgoing>Flow_0cgag1j</bpmn2:outgoing> </bpmn2:startEvent> <bpmn2:userTask id="Activity_1ot6lud" name="业务经理" flowable:assignee="1664525883027984385"> <bpmn2:incoming>Flow_0cgag1j</bpmn2:incoming> <bpmn2:outgoing>Flow_1xc5vbz</bpmn2:outgoing> </bpmn2:userTask> <bpmn2:userTask id="Activity_0vyr0bh" name="首席执行官" flowable:assignee="1675578701967904769"> <bpmn2:incoming>Flow_1xc5vbz</bpmn2:incoming> <bpmn2:outgoing>Flow_1ylk0xe</bpmn2:outgoing> </bpmn2:userTask> <bpmn2:endEvent id="Event_010ozqe"> <bpmn2:incoming>Flow_1ylk0xe</bpmn2:incoming> </bpmn2:endEvent> <bpmn2:sequenceFlow id="Flow_0cgag1j" sourceRef="Event_0998db5" targetRef="Activity_1ot6lud" /> <bpmn2:sequenceFlow id="Flow_1xc5vbz" sourceRef="Activity_1ot6lud" targetRef="Activity_0vyr0bh" /> <bpmn2:sequenceFlow id="Flow_1ylk0xe" sourceRef="Activity_0vyr0bh" targetRef="Event_010ozqe" /> </bpmn2:process> <bpmndi:BPMNDiagram id="BPMNDiagram_1"> <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="process_1699035358608"> <bpmndi:BPMNEdge id="Flow_1ylk0xe_di" bpmnElement="Flow_1ylk0xe"> <di:waypoint x="740" y="200" /> <di:waypoint x="842" y="200" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id="Flow_1xc5vbz_di" bpmnElement="Flow_1xc5vbz"> <di:waypoint x="510" y="200" /> <di:waypoint x="640" y="200" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id="Flow_0cgag1j_di" bpmnElement="Flow_0cgag1j"> <di:waypoint x="288" y="200" /> <di:waypoint x="410" y="200" /> </bpmndi:BPMNEdge> <bpmndi:BPMNShape id="Event_0998db5_di" bpmnElement="Event_0998db5"> <dc:Bounds x="252" y="182" width="36" height="36" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="Activity_1ot6lud_di" bpmnElement="Activity_1ot6lud"> <dc:Bounds x="410" y="160" width="100" height="80" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="Activity_0vyr0bh_di" bpmnElement="Activity_0vyr0bh"> <dc:Bounds x="640" y="160" width="100" height="80" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="Event_010ozqe_di" bpmnElement="Event_010ozqe"> <dc:Bounds x="842" y="182" width="36" height="36" /> </bpmndi:BPMNShape> </bpmndi:BPMNPlane> </bpmndi:BPMNDiagram> </bpmn2:definitions>
回帖
  • markson1978
    2023-11-24
    开发环境中,死活卡在发布中,生产环境又没有问题,纳闷! (开发环境用的是IOS,生产环境用的是windowsServer!) 开始还报个错'javax.xml.transform.stax.StAXSource' is not accepted by this validator. 后面加上xerces依赖后连错都不报了。不过加上后生产环境可以用了,开发环境就是卡死!
    0 回复