title: Spring wildcard not working
body: <p>I am using maven, and included my config file under src/main/resources as "singleton-config.xml".</p>
  
  <p>When I am creating context as </p>
  
  <pre><code>    ApplicationContext context = new ClassPathXmlApplicationContext("classpath:singleton-config.xml");
  </code></pre>
  
  <p>it is working fine but when I use wildcard </p>
  
  <pre><code>    ApplicationContext context = new ClassPathXmlApplicationContext("classpath:singleton-*.xml");
  </code></pre>
  
  <p>It is giving exception </p>
  
  <pre><code>Exception in thread "main" org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'singleton' is defined.
  </code></pre>
  
  <p>Thanks </p>