Okay, so I suppose this is a little off topic, but the only reason I am learning Groovy is for Jenkins . . . so . . .
This works: import Test test = new Test(); println(test.MyString()); This doesn't: import Test Test test = new Test(); println(test.MyString()); I've seen examples in Groovy In Action that seem to imply this should work, but I get an exception at the class def: java.lang.IllegalAccessError: tried to access class Test from class ConsoleScript38 Why? Frank