0

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?

4

1 回答 1

0

所以基本上解决这个问题的方法是确保你所有的 .mflow 文件都有你的连接器的 xsd 路径,它与更新站点中的 spring 模式中的路径相匹配。由于某种原因,xsd 路径之一指向快照 1.0,因为它应该指向其他东西。

于 2013-08-17T08:55:55.330 回答