title: Spring more than one bean of type: crash early
body: <p>When I load a webpage in my Spring web application, I get the following error:</p>
  
  <pre><code>java.lang.IllegalStateException: More than one bean of type [com.Car] found, you have to specify the name of the bean
  </code></pre>
  
  <p>How can I force Spring to detect this problem at startup?</p>
  
  <p>Please do note that I know how to solve the problem on itself (e.g. removing one of the two definitions) 
  I just want to be sure that there aren't any other cases that I will not find before opening every single webpage.</p>