Recommended solutions based on your search

Samebug tips

A few things cause this exception:
1) Check if you have all jars and if they're in the correct path.
2) Your classpath might be broken, you can define it in the command line with java -cp yourClassPath or at your IDE if you're using one.

java.lang.ClassNotFoundException: gherkin.lexer.Encoding at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at cucumber.runtime.FeatureBuilder.read(FeatureBuilder.java:154) at cucumber.runtime.FeatureBuilder.parse(FeatureBuilder.java:115) at cucumber.runtime.model.CucumberFeature.loadFromFeaturePath(CucumberFeature.java:104) at cucumber.runtime.model.CucumberFeature.load(CucumberFeature.java:54) at cucumber.runtime.model.CucumberFeature.load(CucumberFeature.java:34) at cucumber.runtime.RuntimeOptions.cucumberFeatures(RuntimeOptions.java:235) at cucumber.runtime.Runtime.run(Runtime.java:110) at cucumber.api.cli.Main.run(Main.java:36) at cucumber.api.cli.Main.main(Main.java:18)