cancel
Showing results for 
Search instead for 
Did you mean: 

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

SOLVED
Highlighted
Occasional Contributor

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 paste that file in this folder.  (Reason: I don't have admin rights)

 

Is there another way to use this file from another location in my SOAPUI project?

 

I hope somebody can solve this issue.  😉 

 

Thanks in advance!

 

Regards,

Tsjak

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Occasional Contributor

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

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.*

View solution in original post

1 REPLY 1
Highlighted
Occasional Contributor

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

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.*

View solution in original post

New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors