title: Configuration error while executing cucumber-jvm + testNG?
body: <p>I am using cucumber-jvm + testNg + Maven to run my test cases . My runner class would look like this </p>
  
  <pre><code>   @RunWith(Cucumber.class)
     @Cucumber.Options(
         format={"pretty", "json:target/report.json"},
         features = "classpath:cucumber/Login.feature",   
         glue = "stepDefinitions",
         tags="@login,@AB,@close"
  
         )
    public class RunCukesTest extends AbstractTestNGCucumberTests{  }
  </code></pre>
  
  <p>Maven command to execute test cases . </p>
  
  <pre><code> mvn test
  </code></pre>
  
  <p>And I am getting this error  </p>
  
  <pre><code>      Configuring TestNG with:  org.apache.maven.surefire.testng.conf.TestNG652Configurator@3eec1a
        Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.437 sec &lt;&lt;&lt; FAILURE!
        run_cukes(runner.RunCukesTest)  Time elapsed: 0.015 sec  &lt;&lt;&lt; FAILURE!
        java.lang.NoSuchMethodError: cucumber.runtime.RuntimeOptionsFactory.&lt;init&gt;(Ljava/lang/Class;)V
        at cucumber.api.testng.TestNGCucumberRunner.&lt;init&gt;  (TestNGCucumberRunner.java:29)
        at Cucumber.api.testng.AbstractTestNGCucumberTests.run_cukes(AbstractTestNGCucumber          Tests.java:14)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
      at org.testng.internal.MethodInvocationHelper$1.runTestMethod(MethodInvocationHelpe       r.java:200)
       at Cucumber.api.testng.AbstractTestNGCucumberTests.run(AbstractTestNGCucumberTests.java:19)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at org.testng.internal.MethodInvocationHelper.invokeHookable(MethodInvocationHelper.java:212)
      at org.testng.internal.Invoker.invokeMethod(Invoker.java:707)
      at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
      at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
      at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
  </code></pre>