title: cannot Autowire a class from external jar in spring boot
body: <p>Have a class A in a spring boot application. Have added a module in the pom, and i am able to import that class 'B' from that module in this class
  but i am not able to autowire the same, </p>
  
  <pre><code>@EnableAutoConfiguration
  class A
  {
      A(B b)
  }
  </code></pre>
  
  <p>There are no compile time errors, but the application fails to start</p>
  
  <p><code>Parameter 0 of method &lt;&gt; required a bean of type &lt;&gt; that could not be found
  </code>
  Tried annotating the main class with @ComponentScan({"package of class B"})  , no compile errors, but the application fails to start with same error, but with different classes.</p>
  
  <p>thoughts ?</p>