java.lang.NoClassDefFoundError: gherkin/lexer/Encoding

Stack Overflow | Peter | 8 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to Rafael Fischer Viola . Or join the community to write better ones.
  1. 0

    Exception in thread "main" java.lang.NoClassDefFoundError: gherkin/lexer/Encoding

    Stack Overflow | 8 months ago | Peter
    java.lang.NoClassDefFoundError: gherkin/lexer/Encoding
  2. 0

    Step does not have a matching glue code error in cucumber eclipse

    Stack Overflow | 12 months ago | Chathurika Prabodani
    java.lang.NoClassDefFoundError: gherkin/lexer/Encoding
  3. 0

    The Pragmatic Bookshelf | The Cucumber for Java Book

    pragprog.com | 7 months ago
    java.lang.NoClassDefFoundError: gherkin/lexer/Encoding
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Gherkin Syntax Checker

    Google Groups | 3 years ago | Christian Helmbold
    java.lang.NoClassDefFoundError: gherkin/util/FixJava
  6. 0
    samebug tip
    This exception normally means you either have to add the said class to your dependencies or you miswrote it. Look in the documentation of your library how to add it as a dependency.

  1. rsprangemeijer 6 times, last 17 hours ago
  2. marcbouvierdav 26 times, last 2 days ago
  3. batwalrus76 12 times, last 3 days ago
  4. musketyr 1 times, last 3 days ago
  5. SteVio1989 4 times, last 4 days ago
69 more registered users
26 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

    gherkin.lexer.Encoding

    at java.net.URLClassLoader.findClass()
  2. Java RT
    ClassLoader.loadClass
    1. java.net.URLClassLoader.findClass(Unknown Source)
    2. java.lang.ClassLoader.loadClass(Unknown Source)
    3. sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    4. java.lang.ClassLoader.loadClass(Unknown Source)
    4 frames
  3. Cucumber-JVM: Core
    Main.main
    1. cucumber.runtime.FeatureBuilder.read(FeatureBuilder.java:154)
    2. cucumber.runtime.FeatureBuilder.parse(FeatureBuilder.java:115)
    3. cucumber.runtime.model.CucumberFeature.loadFromFeaturePath(CucumberFeature.java:104)
    4. cucumber.runtime.model.CucumberFeature.load(CucumberFeature.java:54)
    5. cucumber.runtime.model.CucumberFeature.load(CucumberFeature.java:34)
    6. cucumber.runtime.RuntimeOptions.cucumberFeatures(RuntimeOptions.java:235)
    7. cucumber.runtime.Runtime.run(Runtime.java:110)
    8. cucumber.api.cli.Main.run(Main.java:36)
    9. cucumber.api.cli.Main.main(Main.java:18)
    9 frames