title: Spring boot testing: @WebMvcTest: java.lang.IllegalStateException at DefaultCacheAwareContextLoaderDelegate.java:132
body: <p>Test cases are failing on building the project with following error</p>
  <pre><code>java.lang.IllegalStateException at DefaultCacheAwareContextLoaderDelegate.java:132
          Caused by: org.springframework.beans.factory.BeanDefinitionStoreException at ConfigurationClassParser.java:189
              Caused by: java.io.FileNotFoundException at ClassPathResource.java:199
  </code></pre>