Loading

Groovy engine not found then running MUnit

Fecha de publicación: Apr 2, 2025
Solución

SYMPTOM

When using the Scripting Module version 2.0.0 and try to run a test the application that is using Mule Runtime 4.2.X or 4.3.0, the following error is appearing:
 
Message               : Scripting engine 'Groovy' not found.  Available engines are: Oracle Nashorn. Error type            : SCRIPTING:UNKNOWN_ENGINE Element               : example-scripting-moduleFlow/processors/0 @ example-scripting-module:example-scripting-module.xml:13 (Execute) Element XML           : <scripting:execute engine="Groovy" doc:name="Execute" doc:id="ee1cccc9-7503-4ee4-922d-936927aecd08"> <scripting:code>println"passed"</scripting:code> </scripting:execute>

CAUSE

 When the groovy engine is used in a mule-plugin, it does not package the necessary jars, and the application that is using this plugin fails.

SOLUTION

The Solution is going to be able in the accumulative patch from November 2020 when using Mule Runtime 4.2.2, 4.2.1 4.2.0, or 4.3.0.
The fix will be included in Mule Runtime 4.3.1
Número del artículo de conocimiento

001120866

 
Cargando
Salesforce Help | Article