首页 > 解决方案 > Munit 2.2.1 在 Mule 运行时 4.3.0 中不工作

问题描述

我将 mule 运行时从 4.2.2 升级到 4.3.0 我在 anypoint studio 7.4.2 中安装了 mule 4.3.0 并将 mule-artifact.json 更改为 4.3.0 并在 pom 文件中我将一些连接器更改为最新版本和 mule maven 插件到 3.5.1 代码已成功部署,但 munit 失败,您能否提出解决方案

标签: mule-componentmulesoftmule4

解决方案


除非您在项目的 pom.xml 文件中升级依赖于 Munit 的工件,否则 MUnit 在运行时 4.3.0 中将不会以相同的方式工作

以下工件需要更新到最新版本

<artifactId>munit-tools</artifactId>  to say 2.3.1
<artifactId>munit-runner</artifactId> to say 2.3.1
<munit.version> to minimum 2.2.1

还要确保您使用的是正确版本的 APIKit 路由器。

我们在迁移到 4.3 时注意到的其他一些观察结果是在某些地方字符串“true”在运行时 4.2.0 中等于布尔值 true,但在 4.3 中不一样。

请分享您的最终解决方案。

问候 Mahesh Raja Vandyala


推荐阅读