Forum Discussion

tsjakamaka's avatar
tsjakamaka
Occasional Contributor
4 years ago
Solved

Using external JAR files (in free SOAPUI) outside the default (lib) folder

All,   I have a little problem.  I want to use the JXL.jar (to read data from XLS file).  Normally you should add downloaded jar files in the "bin"-folder.  But I don't have permission to copy past...
  • tsjakamaka's avatar
    4 years ago

    I have found the solution.

     

    Problem can be solved by adding this line in groovy script.  (as first line)

     

    com.eviware.soapui.support.ClasspathHacker.addURL(new URL("file:\\C:\\jxl.jar"))

     

    import jxl.*
    import jxl.write.*