在部署接口时,我得到了以下错误
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连接器。
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">发布于 2018-03-12 16:57:30
如果要使用Maven构建骡子流,还需要将其包含在org.mule.tools.maven中。
<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>以及依赖项中的项。
<dependency>
<groupId>org.mule.modules</groupId>
<artifactId>mule-module-sfdc</artifactId>
<version>6.2.3</version>
</dependency>https://stackoverflow.com/questions/43491112
复制相似问题