title: Spring interface loading
body: <p>i'm wondering if spring loads an interface when declared as an <code>@autowired</code> attribute of an implementation class  without having annotated the interface as <code>a @component</code> .</p>
  
  <p>let me describe my problem a bit more :
  i have both an interface and its implementation class have the same name but they reside in different packages . i annotated the implementation as <code>@Component("myImplementation")</code> .
  but i end up having an exception that says :</p>
  
  <pre><code>conflicts with existing, non-compatible bean definition of same name and class
  </code></pre>
  
  <p>i'm thinking of excluding interfaces from <code>&lt;context:component-scan</code>  , what do you think ?</p>
  
  <p>PS : my interface isn't <code>@Component</code> annotated , the application runs just fine on developpement environement , i only get the error after Proguard obfuscation</p>