erorr:
java.lang.NoClassDefFoundError: com/github/fge/jsonschema/main/JsonSchemaFactory
at io.restassured.module.jsv.JsonSchemaValidatorSettings.<init>(JsonSchemaValidatorSettings.java:58)
at io.restassured.module.jsv.JsonSchemaValidator$JsonSchemaValidatorFactory.createSettings(JsonSchemaValidator.java:277)
at io.restassured.module.jsv.JsonSchemaValidator$JsonSchemaValidatorFactory.create(JsonSchemaValidator.java:289)
at io.restassured.module.jsv.JsonSchemaValidator.matchesJsonSchema(JsonSchemaValidator.java:157)
at asserttionTest.AssertionTest1.extract001(AssertionTest1.java:30)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
Can you please send a snapshot of your code and the error for better undestanding
Also, make sure you have added all the required dependencies.
Also, Zip your whole workspace and mail it to us. This will be a more efficient way to track the error
Ok thanks, Not able to add zip file here can you please share your email?
Now jsonschemavlaidation is working after cleaning .m2/repository folder. thanks
still if there are any doubts, try adding the file here again, or you can mail us the workspace here: info@qtpselenium.com