05-07-2012 06:48 PM
org.activiti.engine.ActivitiException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'eventGateway'. One of '{"http://www.omg.org/spec/BPMN/20100524/MODEL':flowElement, "http://www.omg.org/spec/BPMN/20100524/MODEL':artifact, "http://www.omg.org/spec/BPMN/20100524/MODEL':resourceRole, "http://www.omg.org/spec/BPMN/20100524/MODEL':correlationSubscription, "http://www.omg.org/spec/BPMN/20100524/MODEL':supports}' is expected. | ventas/offline/assign/ventaoffline.bpmn20.xml | line 56 | column 33
cvc-id.1: There is no ID/IDREF binding for IDREF 'gateway1'. | ventas/offline/assign/ventaoffline.bpmn20.xml | line 159 | column 15
Invalid source 'gateway1' of sequence flow 'flow17' | ventas/offline/assign/ventaoffline.bpmn20.xml | line 74 | column 102
Invalid destination 'gateway1' of sequence flow 'flow21' | ventas/offline/assign/ventaoffline.bpmn20.xml | line 78 | column 82
Invalid source 'gateway1' of sequence flow 'flow22' | ventas/offline/assign/ventaoffline.bpmn20.xml | line 79 | column 101
at org.activiti.engine.impl.util.xml.Parse.throwActivitiExceptionForErrors(Parse.java:186)
at org.activiti.engine.impl.bpmn.parser.BpmnParse.execute(BpmnParse.java:222)
at org.activiti.engine.impl.bpmn.deployer.BpmnDeployer.deploy(BpmnDeployer.java:86)
at org.activiti.engine.impl.persistence.deploy.DeploymentCache.deploy(DeploymentCache.java:38)
at org.activiti.engine.impl.persistence.entity.DeploymentManager.insertDeployment(DeploymentManager.java:42)
at org.activiti.engine.impl.cmd.DeployCmd.execute(DeployCmd.java:58)
at org.activiti.engine.impl.cmd.DeployCmd.execute(DeployCmd.java:30)
at org.activiti.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:24)
at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:42)
at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33)
at org.activiti.engine.impl.RepositoryServiceImpl.deploy(RepositoryServiceImpl.java:46)
at org.activiti.engine.impl.repository.DeploymentBuilderImpl.deploy(DeploymentBuilderImpl.java:106)
at org.activiti.engine.impl.test.TestHelper.annotationDeploymentSetUp(TestHelper.java:96)
at org.activiti.engine.test.ActivitiRule.starting(ActivitiRule.java:100)
at org.junit.rules.TestWatchman$1.evaluate(TestWatchman.java:51)
……
PackageNotFoundException: Package with uri 'http://www.omg.org/spec/BPMN/20100524/MODEL' not found. (platform:/resource/ventas-offline/src/test/java/
ventas/offline/assign/VentasOfflineTest.testAssignment.bpmn20.xml, 2, 469)
05-11-2012 04:57 PM
private String filename = "C:\…\process1.bpmn";
repositoryService.createDeployment().addInputStream("process1.bpmn20.xml",
new FileInputStream(filename)).deploy();
05-12-2012 01:28 PM
05-12-2012 01:31 PM
pitagoras, in Activiti Designer 5.9.1 is error with name of gateway which you want to use. You need manually in your bpmn20.xml change eventGateway to eventBasedGateway like that <eventBasedGateway></eventBasedGateway>
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.