title: Cucumber cannot find StepDefinitions while running the code but manually using the option "Find Step" can find step definition
body: <p>In the project Structure defined like below,</p>
  
  <ul>
  <li>src/main/java
  -- Config (RunCukesTest.java)
  -- StepDefinitions</li>
  <li>src/test/resources
  -- features/login<a href="https://i.stack.imgur.com/EmA3S.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EmA3S.png" alt="enter image description here"></a></li>
  </ul>
  
  <p>When I run from <code>RunCukesTest.java using RunAs --&gt; JUnit Test,</code> Step Definitions cannot be found by runner</p>
  
  <p>When I click find Step, opens the right file. Couldn't understand where the issue is because the code was running few days back. File is downloaded from here </p>
  
  <p><a href="https://drive.google.com/open?id=0B4SgyzyvwKhiVTRmRDZuNXNTSjA" rel="nofollow noreferrer">https://drive.google.com/open?id=0B4SgyzyvwKhiVTRmRDZuNXNTSjA</a></p>
  
  <p>Runner class code</p>
  
  <pre><code>package helpers;
  
  import org.junit.runner.RunWith;
  
  import cucumber.api.CucumberOptions;
  import cucumber.api.junit.Cucumber;
  //features= "src/test/resources/features/navigation",
  
  @RunWith(Cucumber.class)
  @CucumberOptions(
          features = {"classpath:features"},
          plugin = {"pretty", "html:target/cucumber-html-report"},
          tags = {"@OnlyOneTime"},
  //      dryRun = true,
          monochrome = true
          )
  public class RunCukesTest{
  
  }
  </code></pre>