Mule https的无效内容错误:入站终结点
使用此XML时Mule https的无效内容错误:入站终结点,mule,Mule,使用此XML时 我收到以下错误: 发现以元素“https:inbound endpoint”开头的无效内容。{中的一个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:抽象异常策略
我收到以下错误:
发现以元素“https:inbound endpoint”开头的无效内容。{中的一个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:抽象异常策略http://www.mulesoft.org/schema/mule/core":应为抽象消息信息映射}
这个错误是什么意思?我如何解决它?可能是Eclipse的默认模式验证设置
请参见可能是Eclipse的默认模式验证设置
参见您是否声明了
https
前缀,如下所示:
<mule xmlns:https="http://www.mulesoft.org/schema/mule/https"
xsi:schemaLocation="http://www.mulesoft.org/schema/mule/https
您是否声明了https
前缀,如下所示:
<mule xmlns:https="http://www.mulesoft.org/schema/mule/https"
xsi:schemaLocation="http://www.mulesoft.org/schema/mule/https
确保mule在类路径上传输http JAR:就好像它不是
还要确保名称空间定义与您正在使用的Mule版本兼容。您可能已经为3.3版定义了名称空间,并且位于3.4版。无论如何,最好使用current
,如下所示:
xmlns:https="http://www.mulesoft.org/schema/mule/https"
xsi:schemaLocation="http://www.mulesoft.org/schema/mule/https
http://www.mulesoft.org/schema/mule/https/current/mule-https.xsd"
确保mule在类路径上传输http JAR:就好像它不是
还要确保名称空间定义与您正在使用的Mule版本兼容。您可能已经为3.3版定义了名称空间,并且位于3.4版。无论如何,最好使用current
,如下所示:
xmlns:https="http://www.mulesoft.org/schema/mule/https"
xsi:schemaLocation="http://www.mulesoft.org/schema/mule/https
http://www.mulesoft.org/schema/mule/https/current/mule-https.xsd"
也许是版本不匹配?看我修改过的答案。也许是版本不匹配?请看我修改后的答案。是的,我发现了错误。在入站端点块之前的处理器链中是erorr。是的,我发现错误。它位于入站端点块之前的处理器链中的erorr。