title: Flyway can't find classpath:db/migrations
body: <p>I just started right now a new project in Intellij using Spring Boot ver 2.1.3 and Flyway 5.2.4 with Java 11.</p>
  
  <p>After try to start my project i got :</p>
  
  <pre><code>Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flyway' defined in class path resource [org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration$FlywayConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.flywaydb.core.Flyway]: Factory method 'flyway' threw exception; nested exception is java.lang.IllegalStateException: Cannot find migrations location in: [classpath:db/migration] (please add migrations or check your Flyway configuration)
  </code></pre>
  
  <p>I have the following folders:</p>
  
  <p><a href="https://i.stack.imgur.com/vLrs5.png" rel="noreferrer"><img src="https://i.stack.imgur.com/vLrs5.png" alt="enter image description here"></a></p>
  
  <p>As you can see i have "db/migration" but without any migration, i just started right now. Debugging the class FlywayAutoConfiguration i got the following:</p>
  
  <p><a href="https://i.stack.imgur.com/5rrrj.png" rel="noreferrer"><img src="https://i.stack.imgur.com/5rrrj.png" alt="enter image description here"></a></p>
  
  <p>So, i tried to return all files in "classpath:", see:</p>
  
  <p><a href="https://i.stack.imgur.com/T6iN7.png" rel="noreferrer"><img src="https://i.stack.imgur.com/T6iN7.png" alt="enter image description here"></a></p>
  
  <p>Note that i just have "application.properties" file. </p>