cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to find BPMN20.xsd

yadavan88
Champ in-the-making
Champ in-the-making
I am having an application developed in scala. I am using activiti engine in that application.
Activiti Version : 5.17.0
Scala : 2.11

I have created an executable jar file of my application(using sbt-one-jar). I am able to deploy the process successfully, but after the deployment it is not generating the process definition id. Between deployment and generation of process definition, I am getting the following error in the EventListener.

ERROR c.r.w.c.a.WorkflowServiceSupervisor - Recreating dead budget instance, cause org.xml.sax.SAXParseException; schema_reference.4: Failed to read schema document 'jar:file:/workflow-api_2.11-0.1-SNAPSHOT-one-jar.jar!/lib/activiti-bpmn-converter-5.17.0.jar!/org/activiti/impl/bpmn/parser/BPMN20.xsd', because
1) could not find thedocument;
2) the document could not be read;
3) the root element of the document is not <xsd:schema>., message

Everything is working fine if I run it in local, however, once I run from the jar file, I get the above issue. Can anyone help me to fix this?

My jar file structure is :
myapp-one-jar.jar
           |
           myapp.jar
                     |
                     lib
                         activiti-bpmn-converter.jar
                                                                 |
                                                                 BPMN20.xsd
                                                                 BP…xml
1 REPLY 1

yvoswillens
Champ in-the-making
Champ in-the-making
Hi,

this sounds like a ‘sbt-one-jar’ specific issue.
Please check with their wiki / support.

Regards,

Yvo