title: Issue with Spring @Qualifier annotation
body: <p>In the following example, the <code>@Qualifier</code> annotation is not working. 
  I am declaring a properties file in the Spring XML config as follows:</p>
  
  <pre><code>&lt;context:property-placeholder /&gt;
  &lt;util:properties id="xx" location="classpath:file.properties" /&gt;
  </code></pre>
  
  <p>The util.properties file is then autowired into a <code>@Component</code> annotated class:</p>
  
  <pre><code>@Autowired
  private Properties props;
  </code></pre>
  
  <p>The following exception is thrown:</p>
  
  <pre><code>Caused by: org.springframework.beans.factory.NoUniqueBeanDefinitionException: 
  No qualifying bean of type [java.util.Properties] is defined: expected single matching 
  bean but found 2: xx,systemProperties
  </code></pre>
  
  <p>So there are two Property files, one of which is <strong>xx</strong>. But when I add the <code>@Qualifier</code> annotation …
   </p>
  
  <pre><code>@Autowired
  @Qualifier("xx")
  private Properties props;
  </code></pre>
  
  <p>…this exception is thrown:</p>
  
  <pre><code>Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: 
  No qualifying bean of type [java.util.Properties] found for dependency: 
  expected at least 1 bean which qualifies as autowire candidate for this dependency. 
  Dependency annotations 
  {@org.springframework.beans.factory.annotation.Autowired(required=true)  
  @org.springframework.beans.factory.annotation.Qualifier(value=xx)}
  </code></pre>
  
  <p>Without <code>@Qualifier</code>, Spring found two instances of java.util.Properties, one of which was <strong>xx</strong>. But With <code>@Qualifier</code>, it does not see the <strong>xx</strong> file. The same issue exists when using <code>@Resource</code>.</p>
  
  <p>What is not configured correctly?
  Thanks</p>