Skip to content

java.lang.NoClassDefFoundError: Failed resolution of: Ljava/util/Optional; #81

@jgmGit

Description

@jgmGit

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions