I created my own jar file, but Katalon won't let me use it

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!

how did you do it?

Follow the precedure documented at

1 Like

Thanks @kazurayam

Hello my dear friend who always answers me.
I do the following steps

  1. I create my groovy class in IntelliJ.
  2. Build Artifact
  3. 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

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.