package info.epochal.action
class Main {
def pr()
{ return ‘123’ }
}
I added this script to the classpath and it can be used normally in Script Console.
If I compile it using groovyc, it becomes unusable.
groovyc Main.groovy to Main.class
Can you please help me?