Class in a registered Java component not found
Following the instructions on Component Library example for JEE edition I created a simple Java class (named MNBUtils) having an add method which returns the sum of its two parameters.
Then I registered the jar file containing this class using the Tools/Components Add feature of the Studio.
For a service task I created the following onExit Expression:
var utils = new MNBUtils();
CHelper.trace("JavaTest", utils.add(3,4)) ;
When I save the expression, I get an error message "MNBUtils variable has not been declared", but I bypass this message as the instruction mentioned above writes:
When I run the process, I get this error:
What's wrong and how to fix it?