java.lang.NoClassDefFoundError: org/xmlpull/v1/XmlPullParserException

Stack Overflow | Adrian Stewart | 4 months ago
  1. 0

    java.lang.NoClassDefFoundError in Cucumber test package

    Stack Overflow | 4 months ago | Adrian Stewart
    java.lang.NoClassDefFoundError: org/xmlpull/v1/XmlPullParserException
  2. 0

    Setting up Cucumber using JavaEE

    Stack Overflow | 1 year ago | Dorian
    java.lang.NoClassDefFoundError: org/jdom2/JDOMException. I'm not sure why, I included the jdom2 and I still get the error when executing my cucumber feature file. cucumber-java-1.2.4 cucumber-core-1.2.4 cucumber-jvm-deps-1.0.5 junit-4.12 gherkin-2.12.2 cucumber-html-0.2.3 hamcrest-all-1.3 cucumber-junit-1.2.4 jdom2-2.0.5 When I attempt to run a cucumber feature, I get the following error in my JUnit window. java.lang.NoClassDefFoundError: org/jdom2/JDOMException
  3. 0

    When I run the example RunCukesTest for Java 8 it fails.

    Google Groups | 11 months ago | Peter Lawrey
    java.lang.NoClassDefFoundError: org/xmlpull/v1/XmlPullParserException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NoClassDefFoundError


    at java.lang.Class.getDeclaredMethods0()
  2. Java RT
    1. java.lang.Class.getDeclaredMethods0(Native Method)
    2. java.lang.Class.privateGetDeclaredMethods(
    3. java.lang.Class.privateGetPublicMethods(
    4. java.lang.Class.getMethods(
    4 frames
  3. Cucumber-JVM: Java
    2 frames
  4. Cucumber-JVM: Core
    1. cucumber.runtime.Runtime.<init>(
    2. cucumber.runtime.Runtime.<init>(
    3. cucumber.runtime.Runtime.<init>(
    3 frames
  5. Cucumber-JVM: JUnit
    1. cucumber.api.junit.Cucumber.createRuntime(
    2. cucumber.api.junit.Cucumber.<init>(
    2 frames
  6. Java RT
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    1 frame