cancel
Showing results for 
Search instead for 
Did you mean: 

Using custom jar in groovy script

SOLVED
Occasional Contributor

Using custom jar in groovy script

Hi all,

 

I am trying to use acustom jar in a groovy test script but I get the error

 

org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: Script4.groovy: 1: unable to resolve class xxx.yyyy.util.Util @ line 1

 

when my script calls

import xxx.yyyy.util.Util;

 

I have added the relevant jar to:

C:\Program Files\SmartBear\ReadyAPI-1.4.1\jre\lib

C:\Program Files\SmartBear\ReadyAPI-1.4.1\bin\ext

Restarted ReadyAPI

 

What am I missing or doing wrong?

 

Any help much appreciated

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Occasional Contributor

Re: Using custom jar in groovy script

Thanks... the issue was with my import!! Smiley Embarassed

View solution in original post

3 REPLIES 3
Community Hero

Re: Using custom jar in groovy script

It is difficult to say unless the script is provided? As the error states, there are compilation errors.


Regards,
Rao.
Highlighted
Occasional Contributor

Re: Using custom jar in groovy script

Thanks... the issue was with my import!! Smiley Embarassed

View solution in original post

Contributor

Re: Using custom jar in groovy script

C:\Program Files\SmartBear\ReadyAPI-1.4.1\bin\ext

Path should be

C:\Program Files\SmartBear\ReadyAPI-1.4.1\lib\ext

 

 

New Here?
Join us and watch the welcome video:
Watch the new Interview
Top Kudoed Authors