Showing results for 
Search instead for 
Did you mean: 

Getting error com/jayway/jsonpath/spi/JsonProvider

Occasional Contributor

Getting error com/jayway/jsonpath/spi/JsonProvider



I have written Customized code to run SOAPUI Test Suites and publish result.

The Code is working fine for HHTP Steps and Property Transfer related to XPath.

But when same Code was ran against REST Steps and Property Transfer step related to JSONPath. Then getting error.


SOAPUI Version 5.3.0

Java Version 1.7

POM details

<!-- -->


<name>smartbear repository</name>


PropertyTransfer for JSONPath where Source is RestStep Response and Target is TestSuite Property


Test Case is run using TestCase Runner

TestCaseRunner runner = PropertiesMap(), false);


Then this Method captures Property Transfer Result details

public void runPropertyTransfer(PropertyTransferResult transferresult)
for (int c = 0; c < transferresult.getTransferCount(); c++) {
PropertyTransferConfig transfer = transferresult.getTransferAt(c);
stepRequest = stepRequest + "Transfer name: " + transfer.getName() + " Source Step: " + transfer.getSourceStep() + " Source Property: " + transfer.getSourceType() + " Source Path: " + transfer.getSourcePath() + " Type : " + transfer.getType() +
" Target Step: " + transfer.getTargetStep() + " Target Path: " + transfer.getTargetPath() + " Tagert Property: " + transfer.getTargetType() + "\n";
stepResponse = stepResponse + "Transfer name: " + transfer.getName() + " Transfer value: " + Arrays.toString(transferresult.getTransferredValuesAt(c)) + "\n";
execMillis = transferresult.getTimeTaken();
status = transferresult.getStatus().toString();
message = getErrorDetails(transferresult.getMessages());


Error : -

2018-03-20 11:25:15 - Exception during Test Execution
java.lang.NoClassDefFoundError: com/jayway/jsonpath/spi/JsonProvider
at com.eviware.soapui.impl.wsdl.teststeps.PropertyTransfer.readSourceValue(
at com.eviware.soapui.impl.wsdl.teststeps.PropertyTransfer.transferProperties(
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.runCurrentTestStep(



Can anyone help me

SOAPUI is looking for com/jayway/jsonpath/spi/ file but when checked in com.jayawy.jsonpath jar found out that it is in this location com/jayway/jsonpath/spi/json/

Am I doing something wrong here?

New Here?
Join us and watch the welcome video:
Building with the Collaborator API

Help Documenation
The Collaborator API is a JSON-RPC API that lets you integrate with Collaborator 9.0 and above. For more information about how the API works, check out the API description here:

Sample Plugins
For an example of an add-in that uses the API, take a look at the Microsoft Word Add-in for Collaborator:

We list all the great plugins our network has already built on this page on the SmartBear website.