【问题标题】:Domain project deployment failure in Community edition社区版中的域项目部署失败
【发布时间】:2017-05-19 17:42:55
【问题描述】:

我在 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'.

【问题讨论】:

  • 感谢 Ram,从 XML prologs 中删除 ee 后,它现在可以工作了。
  • Sstest,你能接受我的回答吗?这将有助于其他人在遇到相同问题时确定此答案。

标签: mule mule-studio mule-component


【解决方案1】:

当您在社区版中部署域应用程序时,您需要从域架构位置中删除 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得到解答

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-01-23
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多