title: Exception in thread "main" after updating cucumber version
body: <p>i have updated my cucumber version after that it is giving following exception:</p>
  
  <pre><code>     WARNING: You are using deprecated Main class. Please use 
     io.cucumber.core.api.cli.Main
     Exception in thread "main" cucumber.runtime.CucumberException: Failed to 
    instantiate public 
   cucumber.runtime.java.JavaBackend(cucumber.runtime.io.ResourceLoader,io.cucum 
    ber.stepexpression.TypeRegistry)
  </code></pre>
  
  <p>My runner Class: </p>
  
  <pre><code>  package hgtest.runner;
  
  
  import io.cucumber.testng.AbstractTestNGCucumberTests;
  import io.cucumber.testng.CucumberOptions;
  import org.testng.annotations.DataProvider;
  import org.testng.annotations.Test;
  
  @CucumberOptions(plugin = "json:target/cucumber-report.json",
          features="classpath:features",
          glue="hgtest.stepdefinitions"
  )
  public abstract class CustomCucumberAbstractTestng extends AbstractTestNGCucumberTests {
  
      public CustomCucumberAbstractTestng() {
      }
  
      @Test(
              groups = {"cucumber"},
              description = "Runs Cucumber Feature",
              dataProvider = "features"
      )
      @Override
      @DataProvider(parallel = true)
      public Object[][] scenarios() {
          return super.scenarios();
      }
  
  
  }
  </code></pre>
  
  <p>Pom.xml is following:</p>
  
  <pre><code>    &lt;dependency&gt;
          &lt;groupId&gt;org.testng&lt;/groupId&gt;
          &lt;artifactId&gt;testng&lt;/artifactId&gt;
          &lt;version&gt;${testng.version}&lt;/version&gt;
          &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.seleniumhq.selenium&lt;/groupId&gt;
          &lt;artifactId&gt;selenium-java&lt;/artifactId&gt;
          &lt;version&gt;${selenium.version}&lt;/version&gt;
      &lt;/dependency&gt;
    &lt;!-- https://mvnrepository.com/artifact/io.cucumber/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.5.0&lt;/version&gt;
      &lt;/dependency&gt;
    &lt;!-- https://mvnrepository.com/artifact/io.cucumber/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.5.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.5.0&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;!-- https://mvnrepository.com/artifact/io.cucumber/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.5.0&lt;/version&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;4.1.3&lt;/version&gt;
      &lt;/dependency&gt;
  </code></pre>
  
  <p>I have updated the cucumber version from info.cuke to io.cucumber. After that it is saying Exception in thread "main" cucumber.runtime.CucumberException. There is no io.cucumber.core.api.cli.Main. I am using intellij Idea</p>