相关文章推荐

Forum Discussion

arunbharath
Contributor
5 years ago

Getting Error : java.lang.NoClassDefFoundError: com/jayway/jsonpath/spi/JsonProvider

Hi All,

I'm trying to run soapUI through java , while running property transfer test step I'm getting below exception.


[ResultMap map={}]
.473 s <<< FAILURE!
java.lang.NoClassDefFoundError: com/jayway/jsonpath/spi/JsonProvider
at com.interac.api.emt.test.SoapRunner.soapRunner(SoapRunner.java:325)
Caused by: java.lang.ClassNotFoundException: com.jayway.jsonpath.spi.JsonProvider
at com.interac.api.emt.test.SoapRunner.soapRunner(SoapRunner.java:325)

I'm using  Json path 2.4.0  version

<groupId>com.jayway.jsonpath</groupId>
<artifactId>json-path</artifactId>
<version>2.4.0</version>
</dependency>

In the latest version, JsonProvider class is moved to the dub-directory called "Json", But still soapUI is looking for com.jayway.jsonpath.spi.JsonProvider which is very old one.

 
推荐文章