java.lang.NoClassDefFoundError: cucumber/io/ResourceLoader

Google Groups | Zain Jamshaid | 3 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    Cucumber Exception: java.lang.ClassNotFoundException: cucumber.io.ResourceLoader

    Stack Overflow | 3 years ago | Zain
    java.lang.NoClassDefFoundError: cucumber/io/ResourceLoader
  3. 0

    Cucumber Exception: java.lang.ClassNotFoundException: cucumber.io.ResourceLoader

    Google Groups | 3 years ago | Zain Jamshaid
    java.lang.NoClassDefFoundError: cucumber/io/ResourceLoader

  1. jokester 2 times, last 2 months ago
24 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.ClassNotFoundException

    cucumber.io.ResourceLoader

    at java.net.URLClassLoader$1.run()
  2. Java RT
    Class.getConstructor
    1. java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    2. java.security.AccessController.doPrivileged(Native Method)
    3. java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    4. java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    5. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    6. java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    7. java.lang.Class.getDeclaredConstructors0(Native Method)
    8. java.lang.Class.privateGetDeclaredConstructors(Class.java:2398)
    9. java.lang.Class.getConstructor0(Class.java:2708)
    10. java.lang.Class.getConstructor(Class.java:1659)
    10 frames
  3. Cucumber-JVM: Core
    Runtime.<init>
    1. cucumber.runtime.Reflections.hasConstructor(Reflections.java:53)
    2. cucumber.runtime.Reflections.instantiateSubclasses(Reflections.java:29)
    3. cucumber.runtime.Runtime.loadBackends(Runtime.java:96)
    4. cucumber.runtime.Runtime.<init>(Runtime.java:63)
    4 frames
  4. Cucumber-JVM: JUnit
    Cucumber.<init>
    1. cucumber.api.junit.Cucumber.createRuntime(Cucumber.java:74)
    2. cucumber.api.junit.Cucumber.<init>(Cucumber.java:61)
    2 frames
  5. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    4 frames
  6. JUnit
    ClassRequest.getRunner
    1. org.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:29)
    2. org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:21)
    3. org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
    4. org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
    5. org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
    6. org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:26)
    6 frames
  7. JUnit4 Runner
    JUnit4TestLoader.loadTests
    1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.<init>(JUnit4TestReference.java:33)
    2. org.eclipse.jdt.internal.junit4.runner.JUnit4TestClassReference.<init>(JUnit4TestClassReference.java:25)
    3. org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.createTest(JUnit4TestLoader.java:48)
    4. org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.loadTests(JUnit4TestLoader.java:38)
    4 frames
  8. JUnit3 Runner
    RemoteTestRunner.main
    1. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:452)
    2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
    3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
    4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
    4 frames