this was the thing i am facing and could not get rid of it
even for a simple connection it is raising the same issue
SOLUTION
1. Use the latest MUnit version and patch in pom.xml update in both <app.runtime> and <runtimeVersion>, as given below (Example):
<app.runtime>4.3.0-20210609</app.runtime>
<mule.maven.plugin.version>3.3.5</mule.maven.plugin.version>
......................
......................
<groupId>com.mulesoft.munit.tools</groupId>
<artifactId>munit-maven-plugin</artifactId>
<version>${munit.version}</version>
<runtimeVersion>4.4.0-20211227</runtimeVersion>
......................
......................
For more details about MUnit Plugin, Refer
MUnit Maven PluginFor the latest MUnit plugin, Refer
MUnit Release Notes2. Clean the Project and re-run the scenario - Project -> Clean