saurabhpb
10 years agoOccasional Contributor
unable to get external jar to work with ready api even though it gets added to classpath
Hello,
I have been using soapui pro5.1.1 and recently migrated to ReadyAPI1.3.1 however soapui projects execution is giving error when imported to ReadyAPI.
I have put jsonassert-1.2.3.jar to ReadyAPI-1.3.1\bin\ext folder as well as ReadyAPI-1.3.1\lib folder and restarted ReadyAPI tool.
I can see the jar getting added to the classpath also in logs (
- Fri Aug 07 13:17:10 IST 2015:INFO:Adding [C:\Program Files\SmartBear\ReadyAPI-1.3.1\bin\ext\jsonassert-1.2.3.jar] to extensions classpath)
Still my groovy step is not able to identify the class and gives below error for import statement import org.json.JSONObject;
- Fri Aug 07 13:19:35 IST 2015:ERROR:An error occurred [startup failed: Script1.groovy: 7: unable to resolve class org.json.JSONObject @ line 7, column 1. import org.json.JSONObject; ^ org.codehaus.groovy.syntax.SyntaxException: unable to resolve class org.json.JSONObject @ line 7, column 1.
Please let me know in case i am missing something here.
Thanks,
Saurabh