title: cucumber jvm CucumberException: No features found at []
body: <p>In my cucumber -jvm, Maven, junit Setup I have my testRunner file as </p>
  
  <pre><code>package com.lebara.testrunner;
  
  import cucumber.junit.Cucumber;
  import org.junit.runner.RunWith;
  
  @RunWith(Cucumber.class)
  @Cucumber.Options(
  
  glue = {"com.lebara.stepdefs","com.lebara.framework.main", "com.lebara.testrunner"},
  features = "C:/Users/sarthak.dayanand/Documents/WebRefreshTest/CukeAutomation/LebaraWebAutomationTest1/src/main/resources",
  format = {"pretty", "html:target/cucumber-html-report", "json-pretty:target/cucumber-report.json"},
  tags = {"@UserJourney"}
  
  )
  public class RunCukesTest {
  }
  </code></pre>
  
  <p>I have my feature file in the above mentioned directory. </p>
  
  <p>If I run it, I get the following exception:</p>
  
  <pre><code>cucumber.runtime.CucumberException: No features found at [C:/Users/sarthak.dayanand/Documents/WebRefreshTest/CukeAutomation/LebaraWebAutomationTest1/src/main/resources/cucumber]...
  </code></pre>
  
  <p>If I remove the "features" option in the testrunner, it tries to look for feature files in the same directory as my testrunner.java</p>
  
  <pre><code>cucumber.runtime.CucumberException: No features found at [com/lebara/testrunner]
  </code></pre>
  
  <p>And if I put the feature files there, it works. </p>
  
  <p>My question is why is my feature file not being picked up from my previous location, which I thought to be the default file structure for cucumber - maven setup. </p>
  
  <p>How do I make it pick up from there? Help appreciated. </p>