16 years ago
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed,
Hi!
I am trying to make a customized groovy class to use in my GroovyScripts for testing in SOAP UI.
I did a really simple test class
package se.test.groovy
class NewGroovyClass {
public void MyMethod() {
println "Hello"
}
def myVariable2 = "busted"
}
when I try to access them from my groovy script
import se.test.groovy.NewGroovyClass
myClass = new NewGroovyClass()
//def name = myClass.myVariable2
//log.info(name)
i get a
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed, Script6.groovy: 1: unable to resolve class se.test.groovy.NewGroovyClass @ line 1, column 1.org.codehaus.groovy.syntax.SyntaxException: unable to resolve class
My jar file is in
eviware\soapUI-2.5.1\bin\ext
And I also tested the jar file in an netbeans project importing it, and i works fine!
Any tips or pointers?
Thank you in advance.
BR
Yoshi
I am trying to make a customized groovy class to use in my GroovyScripts for testing in SOAP UI.
I did a really simple test class
package se.test.groovy
class NewGroovyClass {
public void MyMethod() {
println "Hello"
}
def myVariable2 = "busted"
}
when I try to access them from my groovy script
import se.test.groovy.NewGroovyClass
myClass = new NewGroovyClass()
//def name = myClass.myVariable2
//log.info(name)
i get a
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed, Script6.groovy: 1: unable to resolve class se.test.groovy.NewGroovyClass @ line 1, column 1.org.codehaus.groovy.syntax.SyntaxException: unable to resolve class
My jar file is in
eviware\soapUI-2.5.1\bin\ext
And I also tested the jar file in an netbeans project importing it, and i works fine!
Any tips or pointers?
Thank you in advance.
BR
Yoshi