I am using github project 'json-schema-validator' and getting below error.
java.lang.NoClassDefFoundError: com.github.fge.jackson.JsonLoader
at ****************.getJsonNode(Service.java:63)
at ****************.getSchemaNode(Service.java:69)
at ****************.isJsonValid(Service.java:93)
at ****************.requestToSectionJSON(Controller.java:477)
I added jar files same as the github project.. but I don't know why it keeps getting this lib error.
(ignore *** part. it just my package name)
Most of the times this error happens if you have wrong version of jars at runtime. Make sure you are using proper version of jackson-coreutils.jar
(same version you used while compiling the code).