-
Notifications
You must be signed in to change notification settings - Fork 394
Description
I am working with version 2.2.5.
As soon as run my tool to validate, I am getting on error when trying to reference the JsonValidator.
private static final JsonValidator validator = JsonSchemaFactory.byDefault().getValidator();
Receiving the following error:
Exception in thread "main" java.lang.NoSuchFieldError: DRAFTV4_HYPERSCHEMA
at com.github.fge.jsonschema.cfg.ValidationConfigurationBuilder.(ValidationConfigurationBuilder.java:65)
at com.github.fge.jsonschema.cfg.ValidationConfiguration.newBuilder(ValidationConfiguration.java:92)
at com.github.fge.jsonschema.cfg.ValidationConfiguration.byDefault(ValidationConfiguration.java:102)
at com.github.fge.jsonschema.main.JsonSchemaFactoryBuilder.(JsonSchemaFactoryBuilder.java:68)
at com.github.fge.jsonschema.main.JsonSchemaFactory.newBuilder(JsonSchemaFactory.java:123)
at com.github.fge.jsonschema.main.JsonSchemaFactory.byDefault(JsonSchemaFactory.java:113)