java.lang.NoSuchMethodError: No static method inclusiveBetween(JJJLjava/lang/String;)V in class Lorg/apache/commons/lang3/Validate; or its super classes (declaration of 'org.apache.commons.lang3.Validate' appears in /system/framework/framework.jar:classes2.dex)

GitHub | pperliti | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    NoSuchMethodError: org.apache.commons.lang3.Validate.inclusiveBetween

    GitHub | 9 months ago | pperliti
    java.lang.NoSuchMethodError: No static method inclusiveBetween(JJJLjava/lang/String;)V in class Lorg/apache/commons/lang3/Validate; or its super classes (declaration of 'org.apache.commons.lang3.Validate' appears in /system/framework/framework.jar:classes2.dex)

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      No static method inclusiveBetween(JJJLjava/lang/String;)V in class Lorg/apache/commons/lang3/Validate; or its super classes (declaration of 'org.apache.commons.lang3.Validate' appears in /system/framework/framework.jar:classes2.dex)

      at ca.uhn.fhir.context.BaseRuntimeDeclaredChildDefinition.<init>()
    2. HAPI FHIR - Core Library
      FhirContext.forDstu2
      1. ca.uhn.fhir.context.BaseRuntimeDeclaredChildDefinition.<init>(BaseRuntimeDeclaredChildDefinition.java:49)
      2. ca.uhn.fhir.context.BaseRuntimeChildDatatypeDefinition.<init>(BaseRuntimeChildDatatypeDefinition.java:43)
      3. ca.uhn.fhir.context.RuntimeChildPrimitiveDatatypeDefinition.<init>(RuntimeChildPrimitiveDatatypeDefinition.java:35)
      4. ca.uhn.fhir.context.ModelScanner.scanCompositeElementForChildren(ModelScanner.java:630)
      5. ca.uhn.fhir.context.ModelScanner.scanCompositeElementForChildren(ModelScanner.java:399)
      6. ca.uhn.fhir.context.ModelScanner.scanCompositeDatatype(ModelScanner.java:374)
      7. ca.uhn.fhir.context.ModelScanner.scan(ModelScanner.java:321)
      8. ca.uhn.fhir.context.ModelScanner.init(ModelScanner.java:202)
      9. ca.uhn.fhir.context.ModelScanner.<init>(ModelScanner.java:113)
      10. ca.uhn.fhir.context.FhirContext.scanResourceTypes(FhirContext.java:431)
      11. ca.uhn.fhir.context.FhirContext.<init>(FhirContext.java:140)
      12. ca.uhn.fhir.context.FhirContext.<init>(FhirContext.java:113)
      13. ca.uhn.fhir.context.FhirContext.forDstu2(FhirContext.java:507)
      13 frames