You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Doesn't work with Android Version 6.0.1.
I am using library version com.networknt:json-schema-validator:0.1.18. Is there something that can be done ?
04-07 11:28:10.932 3799-3813/? I/TestRunner: java.lang.NoClassDefFoundError: Failed resolution of: Ljava/util/Optional;
at com.networknt.schema.JsonMetaSchema.newValidator(JsonMetaSchema.java:241)
at com.networknt.schema.ValidationContext.newValidator(ValidationContext.java:24)
at com.networknt.schema.JsonSchema.read(JsonSchema.java:116)
at com.networknt.schema.JsonSchema.<init>(JsonSchema.java:56)
at com.networknt.schema.JsonSchema.<init>(JsonSchema.java:49)
at com.networknt.schema.JsonSchema.<init>(JsonSchema.java:44)
at com.networknt.schema.JsonSchemaFactory.newJsonSchema(JsonSchemaFactory.java:144)
at com.networknt.schema.JsonSchemaFactory.getSchema(JsonSchemaFactory.java:165)
The text was updated successfully, but these errors were encountered:
@johnygeorge We are trying our best to ensure that this library is Java 6 compatible so that more users can use it. However, we don't have Andriod environment to verify that. Thanks a lot for bringing it up.
I have just released a new version 0.1.19 and it will be soon available from Maven Central. Please verify if there are other issues in Android environment. Thanks for your help.
Doesn't work with Android Version 6.0.1.
I am using library version
com.networknt:json-schema-validator:0.1.18
. Is there something that can be done ?The text was updated successfully, but these errors were encountered: