ajit
ajit

Reputation: 86

Getting error message as Failed to read schema document 'http://www.mulesoft.org/schema/mule/ee/dw/current/dw.xsd'

I am trying to deploy a Mule app on Mule standalone 3.8.1, but I am getting this error message:

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) ~[?:?]

It works fine when running from Anypoint Studio using Mule server 3.8.2 EE.

Upvotes: 0

Views: 2278

Answers (3)

Roger Butenuth
Roger Butenuth

Reputation: 546

DataWeave is an enterprise feature, you can't use it when you deploy to a CE runtime.

Upvotes: 2

CountD
CountD

Reputation: 669

The standalone Mule runtime must also be an EE version for DataWeave to work. Is your 3.8.1 an EE version?

Upvotes: 1

AnupamBhusari
AnupamBhusari

Reputation: 2415

If you are using maven , please add maven dependency for dataweave.

    <dependency>
        <groupId>com.mulesoft.weave</groupId>
        <artifactId>mule-plugin-weave</artifactId>
        <version>${mule.version}</version>
        <scope>provided</scope>
    </dependency>

Hope this helps.

Upvotes: 1

Related Questions