社区版中的域项目部署失败

时间:2017-05-18 14:05:24

标签: mule mule-studio mule-component

我在Anypoint studio中创建了新的域项目,它正在Anypoint studio中嵌入的运行时工作。但是,当我尝试在Mule社区版运行时部署它时,我得到下面的标题警告和错误。有人可以建议我的申请是否需要修改?

错误日志: -

WARN  2017-05-18 13:12:50,085 [WrapperListener_start_runner] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Ignored XML validation warning
org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'http://www.mulesoft.org/schema/mule/ee/domain/current/mule-domain-ee.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>.

 ERROR 2017-05-18 13:12:50,210 [WrapperListener_start_runner] org.mule.module.launcher.domain.DefaultMuleDomain: null
org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'domain:mule-domain'.

1 个答案:

答案 0 :(得分:0)

在社区版中部署域应用程序时,需要从域架构位置删除 ee 。使用以下架构位置

http://www.mulesoft.org/schema/mule/domain/current/mule-domain.xsd

此处回答了此问题的解决方案https://forums.mulesoft.com/questions/55716/381-community-edition-wont-load-domain-complaining.html