title: Cucumber java throws single undefined step when other steps are working fine
body: <p>I have in my feature file the following step:</p>
  
  <pre><code>    Then Validate in total, how much is &lt;firstCreditor&gt; owed by everyone else. They are owed £&lt;firstCreditorValue&gt;
  </code></pre>
  
  <p>and in my steps definition class:</p>
  
  <pre><code>@Slf4j
  @SpringBootTest(webEnvironment = WebEnvironment.DEFINED_PORT)
  public class StepsDefinition {
  
      @Then("^Validate in total, how much is (.+) owed by everyone else. They are owed £(.d)$")
      public void validateCreditor1(String firstCreditor, double firstCreditorValue) throws Throwable {
      }
  </code></pre>
  
  <p>My Spec class:</p>
  
  <pre><code>package com.bsocial.integration;
  
  import io.cucumber.junit.Cucumber;
  import io.cucumber.junit.CucumberOptions;
  import org.junit.runner.RunWith;
  
  @RunWith(Cucumber.class)
  @CucumberOptions(
          strict = true,
          monochrome=true,
          plugin = {"pretty", "html:build/cucumber-reports"},
          tags = {"@myproject"},
          features = {"classpath:features/IntegrationTestRequest.feature"}
  )
  public class IntegrationTestRequestSpecs {
  
  }
  </code></pre>
  
  <p>And my gradle config has:</p>
  
  <pre><code>    testCompile("io.cucumber:cucumber-core:${cucumberVersion}")
      testCompile("io.cucumber:cucumber-java8:${cucumberVersion}")
      testCompile("io.cucumber:cucumber-junit:${cucumberVersion}")
      testCompile("io.cucumber:cucumber-spring:${cucumberVersion}")
  </code></pre>
  
  <p>Where <code>cucumberVersion = '4.7.4'</code>.</p>
  
  <p>But I still got the error:</p>
  
  <pre><code>The step "Validate in total, how much is David owed by everyone else. They are owed £2225.50" is undefined
  io.cucumber.junit.UndefinedThrowable: The step "Validate in total, how much is David owed by everyone else. They are owed £2225.50" is undefined
  </code></pre>
  
  <p>I've read several posts here about this error, but the majority seems to be related to glue, which in my case I'm sure it's working as this is the only step that is giving me grief. </p>
  
  <p>All other steps works just fine. I'm using a single feature file, a single Spec class and a single StepsDefinition class, all very vanilla, as I'm not even extending or implementing anything with my classes.</p>
  
  <p>Is there anything I've missed checking?</p>