title: Changing from info.cukes to io.cucumber with testNG Maven. Throwing runtime error
body: <p>I have a selenium cucumber testng framework using maven. I was hoping to get step descriptions when I run my cucumber tests with testng. It was an old project so I have changed my dependencies from info.cukes to the latest version of io.cucumber. However it seems to be throwing out errors whenever I run the runner test file.</p>
  
  <pre><code>java.lang.NoSuchMethodError: cucumber.runtime.RuntimeOptions.getPluginFormatterNames()Ljava/util/List;
  
      at cucumber.runtime.formatter.Plugins.createPlugins(Plugins.java:64)
      at cucumber.runtime.formatter.Plugins.&lt;init&gt;(Plugins.java:37)
      at cucumber.api.testng.TestNGCucumberRunner.&lt;init&gt;(TestNGCucumberRunner.java:56)
      at cucumber.api.testng.AbstractTestNGCucumberTests.setUpClass(AbstractTestNGCucumberTests.java:16)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
      at org.testng.internal.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:59)
      at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:458)
      at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:222)
      at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:142)
      at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:168)
      at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:105)
      at org.testng.TestRunner.privateRun(TestRunner.java:648)
      at org.testng.TestRunner.run(TestRunner.java:505)
      at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)
      at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450)
      at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415)
      at org.testng.SuiteRunner.run(SuiteRunner.java:364)
      at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
      at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84)
      at org.testng.TestNG.runSuitesSequentially(TestNG.java:1208)
      at org.testng.TestNG.runSuitesLocally(TestNG.java:1137)
      at org.testng.TestNG.runSuites(TestNG.java:1049)
      at org.testng.TestNG.run(TestNG.java:1017)
      at org.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:72)
      at org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:123)
  </code></pre>
  
  <p>I have the following maven dependencies but have no idea if it is a dependency that I am missing to get the test to run? Any Help would be greatly appreciated. As when I have search this issue it seems that it is mostly solved by having the same version dependencies of all the io.cucumber files which I do. </p>
  
  <pre><code> &lt;!-- https://mvnrepository.com/artifact/info.cukes/cucumber-junit --&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;io.cucumber&lt;/groupId&gt;
      &lt;artifactId&gt;cucumber-junit&lt;/artifactId&gt;
      &lt;version&gt;4.2.0&lt;/version&gt;
      &lt;scope&gt;test&lt;/scope&gt;
  &lt;/dependency&gt;
  
   &lt;!-- https://mvnrepository.com/artifact/info.cukes/cucumber-java --&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;io.cucumber&lt;/groupId&gt;
      &lt;artifactId&gt;cucumber-java&lt;/artifactId&gt;
      &lt;version&gt;4.2.0&lt;/version&gt;
  &lt;/dependency&gt;
  
   &lt;!-- https://mvnrepository.com/artifact/info.cukes/cucumber-testng --&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;io.cucumber&lt;/groupId&gt;
      &lt;artifactId&gt;cucumber-testng&lt;/artifactId&gt;
      &lt;version&gt;4.2.0&lt;/version&gt;
  
  &lt;/dependency&gt;
  
          &lt;!-- https://mvnrepository.com/artifact/org.mockito/mockito-core --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;org.mockito&lt;/groupId&gt;
              &lt;artifactId&gt;mockito-core&lt;/artifactId&gt;
              &lt;version&gt;2.21.0&lt;/version&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;
          &lt;!-- https://mvnrepository.com/artifact/io.cucumber/tag-expressions --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;io.cucumber&lt;/groupId&gt;
              &lt;artifactId&gt;tag-expressions&lt;/artifactId&gt;
              &lt;version&gt;1.1.1&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;!-- https://mvnrepository.com/artifact/io.cucumber/cucumber-expressions --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;io.cucumber&lt;/groupId&gt;
              &lt;artifactId&gt;cucumber-expressions&lt;/artifactId&gt;
              &lt;version&gt;6.2.0&lt;/version&gt;
          &lt;/dependency&gt;
  
          &lt;!-- https://mvnrepository.com/artifact/io.cucumber/messages --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;io.cucumber&lt;/groupId&gt;
              &lt;artifactId&gt;messages&lt;/artifactId&gt;
              &lt;version&gt;2.1.0&lt;/version&gt;
          &lt;/dependency&gt;
          &lt;!-- https://mvnrepository.com/artifact/io.cucumber/cucumber-java8 --&gt;
          &lt;dependency&gt;
              &lt;groupId&gt;io.cucumber&lt;/groupId&gt;
              &lt;artifactId&gt;cucumber-java8&lt;/artifactId&gt;
              &lt;version&gt;4.2.0&lt;/version&gt;
          &lt;/dependency&gt;
  
  
  
          &lt;!-- https://mvnrepository.com/artifact/com.github.mkolisnyk/cucumber-report-generator --&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;com.github.mkolisnyk&lt;/groupId&gt;
      &lt;artifactId&gt;cucumber-report-generator&lt;/artifactId&gt;
      &lt;version&gt;1.3&lt;/version&gt;
  &lt;/dependency&gt;
  
  
  
      &lt;dependency&gt;
              &lt;groupId&gt;org.testng&lt;/groupId&gt;
              &lt;artifactId&gt;testng&lt;/artifactId&gt;
              &lt;version&gt;6.14.3&lt;/version&gt;
              &lt;scope&gt;test&lt;/scope&gt;
          &lt;/dependency&gt;  
  
          &lt;!-- https://mvnrepository.com/artifact/io.cucumber/gherkin --&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;io.cucumber&lt;/groupId&gt;
      &lt;artifactId&gt;gherkin&lt;/artifactId&gt;
      &lt;version&gt;6.0.14&lt;/version&gt;
  &lt;/dependency&gt;
  
          &lt;!-- https://mvnrepository.com/artifact/info.cukes/gherkin --&gt;
  &lt;!--&lt;dependency&gt;
      &lt;groupId&gt;info.cukes&lt;/groupId&gt;
      &lt;artifactId&gt;gherkin&lt;/artifactId&gt;
      &lt;version&gt;2.12.2&lt;/version&gt;
      &lt;scope&gt;provided&lt;/scope&gt;
  &lt;/dependency&gt;--&gt;
          &lt;!-- https://mvnrepository.com/artifact/info.cukes/cucumber-core --&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;io.cucumber&lt;/groupId&gt;
      &lt;artifactId&gt;cucumber-core&lt;/artifactId&gt;
      &lt;version&gt;4.2.0&lt;/version&gt;
  &lt;/dependency&gt;
  
  
  
       &lt;!-- https://mvnrepository.com/artifact/ru.sbtqa.tag/cucumber-runner --&gt;
  &lt;dependency&gt;
      &lt;groupId&gt;ru.sbtqa.tag&lt;/groupId&gt;
      &lt;artifactId&gt;cucumber-runner&lt;/artifactId&gt;
      &lt;version&gt;1.0.7&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>