title: Error importing jar in groovy script (soapui)
body: <p>I have a problem with running java code from groovy script (groovy script is a part of SoapUI test suite)
  i create simple script:</p>
  
  <pre><code>import myjar.jar
  new TopClass().sayHello()
  </code></pre>
  
  <p>the code of TopClass:</p>
  
  <pre><code>public class TopClass {
      public void sayHello (){
          System.out.println("Hello");
      }   
  }
  </code></pre>
  
  <p>I put myjar.jar into both soapui-pro-2.5\lib and soapui-pro-2.5\bin\ext folders.
  But running script I get:   </p>
  
  <blockquote>
    <p>org.codehaus.groovy.control.MultipleCompilationErrorsException:
    startup failed, Script1.groovy: 2: unable to resolve class myjar.jar @
    line 2, column 1.org.codehaus.groovy.syntax.SyntaxException: unable to
    resolve class myjar.jar @ line 2, column 1. at
    org.codehaus.groovy.ast.ClassCodeVisitorSupport.addError(ClassCodeVisitorSupport.java:113)
    at
    org.codehaus.groovy.control.ResolveVisitor.visitClass(ResolveVisitor.java:970)
    at
    org.codehaus.groovy.control.ResolveVisitor.startResolving(ResolveVisitor.java:141)
    at
    org.codehaus.groovy.control.CompilationUnit$5.call(CompilationUnit.java:527)
    at
    org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:772)
    at
    org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:438)
    at
    groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:281)
    at groovy.lang.GroovyShell.parseClass(GroovyShell.java:572) at
    groovy.lang.GroovyShell.parse(GroovyShell.java:584) at
    groovy.lang.GroovyShell.parse(GroovyShell.java:564) at
    groovy.lang.GroovyShell.parse(GroovyShell.java:603) at</p>
  </blockquote>
  
  <p>Please help me to find what I'm doing wrong</p>