我试图在Mule独立3.8.1上部署Mule应用程序,但我收到此错误消息:
Ignored XML validation warning
org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'http://www.mulesoft.org/schema/mule/ee/dw/current/dw.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) ~[?:?]
使用Mule服务器3.8.2 EE从Anypoint Studio运行时,它可以正常工作。
DataWeave是一种企业功能,在部署到CE运行时时无法使用它。
如果您正在使用maven,请为dataweave添加maven依赖项。
<dependency>
<groupId>com.mulesoft.weave</groupId>
<artifactId>mule-plugin-weave</artifactId>
<version>${mule.version}</version>
<scope>provided</scope>
</dependency>
希望这可以帮助。
独立的Mule运行时也必须是一个EE版本才能使DataWeave工作。你的3.8.1是EE版吗?