Anypoint Studio v7.8 运行时与 Mule 运行时版本 4.4 的兼容性

问题描述 投票:0回答:1

我在 Anypoint v7.8 中运行 Mule 项目(运行时版本 4.4)时遇到以下错误:

++++++Failed to deploy artifact 'system-api', see below +++++++++++++++++++++
ERROR 2023-05-16 13:00:09,286 [WrapperListener_start_runner] org.mule.runtime.module.deployment.internal.DefaultArchiveDeployer: Artifact system-api requires a newest runtime version. Artifact required version is 4.4.0 and Mule Runtime version is 4.3.0
org.mule.runtime.api.exception.MuleRuntimeException: Artifact system-api requires a newest runtime version. Artifact required version is 4.4.0 and Mule Runtime version is 4.3.0`

我发现我项目的mule-artifact.json文件是这样写的:

{
  "minMuleVersion": "4.4.0"
}

所以,我的猜测是 Anypoint Studio v7.8 与 Mule 4.4 版不兼容?它似乎没有在发行说明中说明(4.4 发布时可能不存在)。为了运行这个项目,我只需要将我的 Anypoint Studio 更新到可以运行 4.4 项目的版本?

mule mulesoft mule4 anypoint-studio anypoint-platform
1个回答
0
投票

推荐:强烈推荐升级到Anypoint Studio最新版本。您使用的是旧版本的 Anypoint Studio。 Anypoint Studio 7.15 在撰写本文时刚刚发布。您的版本最初是在 2021 年 2 月发布的,它已经停产一段时间了,并且缺少很多改进和修复。如果 Mule 4.3 没有与新版本一起打包,您仍然可以将 Mule 4.3 与较新的 Studio 版本一起使用安装它

仅当您绝对需要保留旧的 EOL 版本的 Studio 时:您可以编辑 mule-artifact.json 以将所需的版本更改为不同的版本,例如 4.3.0。除非您使用的是 4.4.0 特有的功能或连接器,否则您应该能够使用以前的版本运行它。没有任何保证,因为正如您正确提到的那样,Studio 7.8 是在 Mule 4.4 之前发布的。

不推荐:可能可以将Mule 4.4.0安装到旧的Studio版本中。

© www.soinside.com 2019 - 2024. All rights reserved.