Contributions
Re: Using user-defined java (or groovy) class in script
Hi, I have also the problem with user-defined java class in Groovy script I've made a very basic class Test.java, which returns a string. I have packaged Test.class in a jar archive and then put test.jar file in the soapUI-2.0.2\bin\ext folder. Groovy script: import soapuitest.* def test = new soapuitest.Test()[/font:1zzjuces] By script Running: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed, Script14.groovy: 3: unable to resolve class mysoapuitest.GenerateExternalBookingId @ line 3, column 14. org.codehaus.groovy.syntax.SyntaxException: unable to resolve class mysoapuitest.GenerateExternalBookingId @ line 3, column 14. at org.codehaus.groovy.ast.ClassCodeVisitorSupport.addError(ClassCodeVisitorSupport.java:113) at org.codehaus.groovy.control.ResolveVisitor.resolveOrFail(ResolveVisitor.java:132) .... Could someone help me? Best regards, Liliya1.4KViews0likes0Comments