title: Spring ResourceLoader doesn't find resources in JAR
body: <p>I am looking to create a hierarchy based on the Spring configurations.  The simplest form is several "core" libraries and several "custom" projects that are able to override the beans in the "core" libraries.  </p>
  
  <p>When running very simply unit tests via Maven the "core" configuration isn't able to found causing the test to fail.</p>
  
  <pre><code>final Resource[] resources = applicatonContext.getResources("classpath*:core-*spring.xml");
  </code></pre>
  
  <p>Returns nothing.  It isn't able to find the expected <code>core-one-spring.xml</code> or <code>core-two-spring.xml</code> that are located in my custom projects core dependencies.  </p>
  
  <p>Isn't it default behavior of Spring to look into the JARs on the classpath as well?  Or is there something special I have to do?</p>
  
  <p>When I run in my IDE (IntelliJ) the tests pass perfectly because the entire project is loaded and they are just files that Spring can find.</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>Spring is able to find the files if I add them explicitly without wildcards.</p>
  
  <pre><code>@ContextConfiguration({"classpath:core-one-spring.xml", "classpath:core-two-spring.xml", "classpath:custom-spring.xml", "classpath:test-spring.xml"})
  </code></pre>
  
  <p>or </p>
  
  <pre><code>final Resource[] resources = custom.getResources("classpath:core-one-spring.xml");
  </code></pre>