title: Why doesn't component scan pick up my @Configuration?
body: <p>I have a config file like </p>
  
  <pre><code>package com.mypackage.referencedata.config;
  
  @Configuration
  @ComponentScan ("com.mypackage.referencedata.*")
  public class ReferenceDataConfig {
  </code></pre>
  
  <p>In a spring xml if I have </p>
  
  <pre><code>&lt;context:component-scan base-package="com.mypackage.referencedata.config.*" /&gt;
  </code></pre>
  
  <p>it does not get loaded.</p>
  
  <p>If I use</p>
  
  <pre><code>&lt;context:component-scan base-package="com.mypackage.referencedata.*" /&gt;
  </code></pre>
  
  <p>it works.</p>
  
  <p>What gives? I'd expect the 1st to work as well.</p>