cancel
Showing results for 
Search instead for 
Did you mean: 

failed to deploy a model - BPMN20.xsd is missing

rvfranck
Champ in-the-making
Champ in-the-making
Hello,

I am using activiti-explorer for my first time.
I created a model with one activity and save it. I created it under kermit user.

Now I am trying to deploy it but it's failing with the folowing error message
-> Create of bpmn xml failed
-> schema-reference.4: failed to read schema document 'file:/c:/program%20files/……/activiti-explorer/loader/prg/activiti/impl/bpmn/parser/BPMN20.xsd' because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not .

That is all the error message I have in the GUI. I check in logs server to have more information but nothing related to this in my folder Tomcat 7.0\logs.

I aso checked in C:\Program Files\Apache Software Foundation\Tomcat 7.0\work\Catalina\localhost\activiti-explorer\loader\org, and the folder "activity" is missing. I guess when I save my model in GUI a xsd file should be create… but it is not the case on my side.

Could someone help please?

Regards,
4 REPLIES 4

balsarori
Champ on-the-rise
Champ on-the-rise
Check the WEB-INF/lib folder of your web app does it contain a jar called activiti-bpmn-converter-5.17.0.jar (5.17.0 is Activiti's version so, could be something else if you are not using the latest version)?

That jar file should contain all required xsd files (under the path /org/activiti/impl/bpmn/parser/ of the jar file).

rvfranck
Champ in-the-making
Champ in-the-making
Thanks Balsori for your answer.
I have the executable jar file "activiti-bpmn-converter-5.17.0" in "Tomcat 7.0\webapps\activiti-explorer\WEB-INF\lib", however  I am missing the folder "activiti" under "Tomcat 7.0\work\Catalina\localhost\activiti-explorer\loader\org". I double clic on the jar "activiti-bpmn-converter-5.17.0" but it didn`t help.

Do you know why the folder "activiti" is missing?
How can I create it?

Regards,

jbarrez
Star Contributor
Star Contributor
you don't need a folder activiti. Bassam is refering to the folder INSIDE the jar.

nyps
Champ in-the-making
Champ in-the-making
Dear all,

I have exactly the the problem as the OP. I'm also using activiti-explorer for the first time, so bear with me. I'm pretty clueless and couldn't find an answer so far.
My WEB-INF/lib folder contains a jar called activiti-bpmn-converter-5.17.0.jar. But how to proceed? I can export the modell, but not deploy. Could java be the cause of the problem?

Any help would be much appreciated,
best regards
Nyps