首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >骡子部署问题

骡子部署问题
EN

Stack Overflow用户
提问于 2017-04-19 09:04:12
回答 6查看 1.3K关注 0票数 0

在部署接口时,我得到了以下错误

org.xml.sax.SAXParseException: cvc-complex-sfdc.2.4.a:从元素sfdc:query开始找到无效的内容。{“http://www.mulesoft.org/schema/mule/core”:注释之一,“http://www.mulesoft.org/schema/mule/core”:抽象-消息-处理器,“http://www.mulesoft.org/schema/mule/core”:抽象-出站端点,预期为http://www.mulesoft.org/schema/mule/core

我已经在全球范围内配置了salesforce连接器。

代码语言:javascript
运行
复制
PFB schema
xsi:schemaLocation="http://www.mulesoft.org/schema/mule/ee/wmq http://www.mulesoft.org/schema/mule/ee/wmq/current/mule-wmq-ee.xsd
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-current.xsd
http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd
http://www.mulesoft.org/schema/mule/ee/dw http://www.mulesoft.org/schema/mule/ee/dw/current/dw.xsd
http://www.mulesoft.org/schema/mule/sfdc http://www.mulesoft.org/schema/mule/sfdc/current/mule-sfdc.xsd
http://www.mulesoft.org/schema/mule/ee/tracking http://www.mulesoft.org/schema/mule/ee/tracking/current/mule-tracking-ee.xsd">
EN

Stack Overflow用户

发布于 2018-03-12 16:57:30

如果要使用Maven构建骡子流,还需要将其包含在org.mule.tools.maven中。

代码语言:javascript
运行
复制
<plugin>
    <groupId>org.mule.tools.maven</groupId>
    <artifactId>mule-app-maven-plugin</artifactId>
    <version>${mule.tools.version}</version>
    <extensions>true</extensions>
    <configuration>
        <copyToAppsDirectory>true</copyToAppsDirectory>
        <inclusions>
            <inclusion>
                <groupId>org.mule.modules</groupId>
                <artifactId>mule-module-sfdc</artifactId>
            </inclusion>
        </inclusions>
    </configuration>
</plugin>

以及依赖项中的项。

代码语言:javascript
运行
复制
<dependency>
    <groupId>org.mule.modules</groupId>
    <artifactId>mule-module-sfdc</artifactId>
    <version>6.2.3</version>
</dependency>
票数 2
EN
查看全部 6 条回答
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/43491112

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档