title: Exception in thread "main" java.lang.NoClassDefFoundError: gherkin/lexer/Encoding
body: <p>Hi I have an error when I run my feature files in eclipse.</p>
  
  <p>I do have the latest cucumber jar also still no luck. Any ideas on how to resolve? I've also pointed the </p>
  
  <p>Here's my code:</p>
  
  <pre><code>package Cucumber;
  import org.junit.runner.RunWith;
  
  import cucumber.api.CucumberOptions;
  import cucumber.api.junit.Cucumber;
  
  @RunWith(Cucumber.class)
  @CucumberOptions(
          format = {"pretty", "json:target/"},
          features = {"src/cucumber/"}
          )
  public class CucumberRunner {
  
  }
  </code></pre>
  
  <p>Here's my feature file.</p>
  
  <pre><code>    Feature: My Feature
    Scenario: Title of your scenario
      Given This is my first test
      And This is my second test
      Then This is my final test
  </code></pre>
  
  <p>Here's the error I'm recieving.</p>
  
  <pre><code>Exception in thread "main" java.lang.NoClassDefFoundError: gherkin/lexer/Encoding
      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)
  Caused by: 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)
      ... 9 more
  </code></pre>