Вопрос

I'm having issues the the xsd files that are generated with Devkit. Now the xsd file is generated fine but when trying to run the connector mule can't find the xsd.

I get errors of this sort:

org.xml.sax.SAXParseException; lineNumber: 15; columnNumber: 58; schema_reference.4: Failed to read schema document 'http://www.mulesoft.org/schema/mule/fooCloud/1.0-SNAPSHOT/mule-fooCloud.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not .

Now I have been having a deep look for the .xsd file and have found 4 references to it.

http://www.mulesoft.org/schema/mule/fooCloud/1.0-SNAPSHOT/mule-fooCloud.xsd

But the actual xsd file only exists in the target/gernerated-sources folder. I have not seen it in the update-site. zip

any ideas why mule keeps trying to reference the mule site for the xsd?

Это было полезно?

Решение

So basically the solution to this was to make sure all your .mflow files had the xsd path for your connector that matched the one in the spring schema in the update site. For some reason one of the xsd paths was pointing to the snapshot-1.0 where as this was supposed to point to something else.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top