mule-studio - 部署期间 Mule SAX 解析异常
问题描述
我在具有相同 HttpListener 的 Anypoint 工作室中遇到以下异常
使用以下运行时环境。
运行时:4.1.4 任意点IDE:7.4.2
IDE 和运行时之间是否有任何兼容性?
对此有何建议?
谢谢。
- module.extension.internal.manager.DefaultExtensionManager:注册扩展 HTTP(版本:1.5.6 供应商:Mulesoft) INFO 2020-02-24 12:04:59,750 [WrapperListener_start_runner] [事件:] org.mule.runtime.core.privileged .lifecycle.AbstractLifecycleManager: Disposing RegistryBroker ERROR 2020-02-24 12:04:59,750 [WrapperListener_start_runner] [event: ] org.mule.runtime.module.deployment.impl.internal.application.DefaultMuleApplication: null org.mule.runtime。 api.exception.MuleRuntimeException:解析给定文件“firstmule.xml”时出现“1”错误。完整列表:org.xml.sax.SAXParseException;行号:12;列号:9;cvc-complex-type.2.4.b:元素“流”的内容不完整。'{" 之一 Mulesoft ) INFO 2020-02-24 12:04:59,750 [WrapperListener_start_runner] [事件:] org.mule.runtime.core.privileged.lifecycle.AbstractLifecycleManager: Disposing RegistryBroker ERROR 2020-02-24 12:04:59,750 [WrapperListener_start_runner] [事件:] org.mule.runtime.module.deployment.impl.internal.application.DefaultMuleApplication:null org.mule.runtime.api.exception.MuleRuntimeException:解析给定文件“firstmule.xml”时出现“1”错误'。完整列表:org.xml.sax.SAXParseException;行号:12;列号:9;cvc-complex-type.2.4.b:元素“流”的内容不完整。'{" 之一 Mulesoft ) INFO 2020-02-24 12:04:59,750 [WrapperListener_start_runner] [事件:] org.mule.runtime.core.privileged.lifecycle.AbstractLifecycleManager: Disposing RegistryBroker ERROR 2020-02-24 12:04:59,750 [WrapperListener_start_runner] [事件:] org.mule.runtime.module.deployment.impl.internal.application.DefaultMuleApplication:null org.mule.runtime.api.exception.MuleRuntimeException:解析给定文件“firstmule.xml”时出现“1”错误'。完整列表:org.xml.sax.SAXParseException;行号:12;列号:9;cvc-complex-type.2.4.b:元素“流”的内容不完整。'{" 之一 750 [WrapperListener_start_runner] [事件:] org.mule.runtime.module.deployment.impl.internal.application.DefaultMuleApplication:null org.mule.runtime.api.exception.MuleRuntimeException:解析给定文件时出现“1”错误'firstmule.xml'。完整列表:org.xml.sax.SAXParseException;行号:12;列号:9;cvc-complex-type.2.4.b:元素“流”的内容不完整。'{" 之一 750 [WrapperListener_start_runner] [事件:] org.mule.runtime.module.deployment.impl.internal.application.DefaultMuleApplication:null org.mule.runtime.api.exception.MuleRuntimeException:解析给定文件时出现“1”错误'firstmule.xml'。完整列表:org.xml.sax.SAXParseException;行号:12;列号:9;cvc-complex-type.2.4.b:元素“流”的内容不完整。'{" 之一http://www.mulesoft.org/schema/mule/core ":abstract-message-processor, " http://www.mulesoft.org/schema/mule/core ":abstract-mixed-content-message-processor }' 是期待。
xml'。完整列表:org.xml.sax.SAXParseException;行号:12;列号:9;cvc-complex-type.2.4.b:元素“流”的内容不完整。'{" 之一http://www.mulesoft.org/schema/mule/core ":abstract-message-processor, " http://www.mulesoft.org/schema/mule/core ":abstract-mixed-content-message-processor }' 是期待。
原因:org.mule.runtime.deployment.model.api.DeploymentInitException:MuleRuntimeException:解析给定文件“firstmule.xml”时出现“1”错误。完整列表:org.xml.sax.SAXParseException;行号:12;列号:9;cvc-complex-type.2.4.b:元素“流”的内容不完整。'{" http://www.mulesoft.org/schema/mule/core ":abstract-message-processor, " http://www.mulesoft.org/schema/mule/core ":abstract-mixed-之一内容消息处理器}' 是预期的。
原因:org.mule.runtime.core.api.config.ConfigurationException:解析给定文件“firstmule.xml”时出现“1”错误。完整列表:org.xml.sax.SAXParseException;行号:12;列号:9;cvc-complex-type.2.4.b:元素“流”的内容不完整。'{" http://www.mulesoft.org/schema/mule/core ":abstract-message-processor, " http://www.mulesoft.org/schema/mule/core ":abstract-mixed-之一内容消息处理器}' 是预期的。
原因:org.mule.runtime.api.exception.MuleRuntimeException:解析给定文件“firstmule.xml”时出现“1”错误。完整列表:org.xml.sax.SAXParseException;行号:12;列号:9;cvc-complex-type.2.4.b:元素“流”的内容不完整。'{" http://www.mulesoft.org/schema/mule/core ":abstract-message-processor, " http://www.mulesoft.org/schema/mule/core ":abstract-mixed-之一内容消息处理器}' 是预期的。
信息 2020-02-24 12:04:59,781 [WrapperListener_start_runner] org.mule.runtime.module.deployment.internal.DeploymentDirectoryWatcher:++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++++ + 骡子起来踢腿(每 5000 毫秒) + + ++++++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++ 信息 2020-02-24 12:05:00,731 [WrapperListener_start_runner] org.eclipse.jetty.server.AbstractConnector:已启动 ServerConnector@44510ad1{HTTP/1.1,[http/1.1]}{0.0 .0.0:56978} 信息 2020-02-24 12:05:00,731 [WrapperListener_start_runner]
解决方案
猜猜你已经把它整理出来了,但根据错误,似乎 Mule 应用程序在流程“流程区域”中没有任何连接器。
因此,Mule 应用程序将失败,因为它在流“源区域”中只包含一个 HTTP 侦听器连接器。
例如,通过在 HTTP Listener 右侧添加“Log”连接器或“Se Payload”连接器,流“处理区域”不会为空,因此 Mule 应用程序将能够成功部署和运行。
推荐阅读
- css - Vuetify 导航栏中的中心徽标
- huggingface-transformers - Huggingface MarianMT 翻译器会丢失内容,具体取决于模型
- c++ - 表达式 C++ 的求值顺序
- python - 如何在python中返回主菜单之前显示绘图
- laravel - 如何组合数据数组并使其更易于使用
- node.js - 为什么在 webpack encore 项目中找不到 perf_hooks?[require("perf_hooks") 失败]
- amazon-cognito - 谷歌登录时如何更改应用名称?
- android - 对讲开启时,双击 RecyclerView 项目不会触发 onInterceptTouchEvent
- javascript - 无法设置本地存储
- c# - ASP.NET:如何使用命令行在文件夹中发布