I just created a class in groovy that only uses the following external classes:
import java.math.RoundingMode
import java.text.DecimalFormat
import java.text.DecimalFormatSymbols
import java.util.function.Predicate
import java.util.regex.Pattern
I compile it with the command
groovyc MyClass.groovy
And create a .jar using the command
jar cf myJarFile.jar MyClass.class
But when I import it into Katalon Studio I can’t use it.
1 Like
Hi there,
Thank you very much for your topic. Please note that it may take a little while before a member of our community or from Katalon team responds to you.
Thanks!
Follow the precedure documented at
1 Like
Hello my dear friend who always answers me.
I do the following steps
- I create my groovy class in IntelliJ.
- Build Artifact
- Import Library in Katalon Studio
And my class is not recognized
Please describe this in more detail.
What did you expected to see and what did you actually see?
Any screenshot that contains an indication of error?
Please show the source code of your Test Script in Katalon studio that tries to use your jar. I ask you this because I suspect that you did not write import
statement properly
1 Like
I would ask you again, how you did this?
I ask you this because I suspect that you have done it in a wrong way.
Hi @kazurayam sorry,
I created the .jar file in the wrong way.
I compiled my code in a different version of Groovy, and the problem was that.
My fault.