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

  1. 0

    java.lang.NoClassDefFoundError in Cucumber test package

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

    Setting up Cucumber using JavaEE

    Stack Overflow | 12 months 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 | 10 months ago | Peter Lawrey
    java.lang.NoClassDefFoundError: org/xmlpull/v1/XmlPullParserException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. davidvanlaatum 14 times, last 6 months ago
  2. Kawada 1 times, last 8 months ago
23 unregistered visitors
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

    org/xmlpull/v1/XmlPullParserException

    at java.lang.Class.getDeclaredMethods0()
  2. Java RT
    Class.getMethods
    1. java.lang.Class.getDeclaredMethods0(Native Method)
    2. java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
    3. java.lang.Class.privateGetPublicMethods(Class.java:2902)
    4. java.lang.Class.getMethods(Class.java:1615)
    4 frames
  3. Cucumber-JVM: Java
    JavaBackend.loadGlue
    1. cucumber.runtime.java.MethodScanner.scan(MethodScanner.java:40)
    2. cucumber.runtime.java.JavaBackend.loadGlue(JavaBackend.java:86)
    2 frames
  4. Cucumber-JVM: Core
    Runtime.<init>
    1. cucumber.runtime.Runtime.<init>(Runtime.java:92)
    2. cucumber.runtime.Runtime.<init>(Runtime.java:70)
    3. cucumber.runtime.Runtime.<init>(Runtime.java:66)
    3 frames
  5. Cucumber-JVM: JUnit
    Cucumber.<init>
    1. cucumber.api.junit.Cucumber.createRuntime(Cucumber.java:80)
    2. cucumber.api.junit.Cucumber.<init>(Cucumber.java:59)
    2 frames
  6. Java RT
    NativeConstructorAccessorImpl.newInstance0
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    1 frame