title: Spring boot not scanning components and configurations
body: <p>I have a multi-module project: </p>
  
  <pre><code>TOP_LEVEL
  |-&gt; core
  |-&gt; assetManager
  '-&gt; requestManager
  </code></pre>
  
  <p>So, I have a core module which has Application class in the core module.</p>
  
  <p>In my assetManger build.gradle I <code>compile(project(:core))</code></p>
  
  <p>The application main class is in package : <code>com.test.companydomain.core</code> of the core module.
  This Application class is annotated with </p>
  
  <pre><code>@EnableAutoConfiguration
  @ComponentScan(basePackages = {"com.test.companydomain"})
  @EntityScan(basePackages = {"com.test.companydomain", "com.test.companydomain.assetManager"})
  @EnableJpaRepositories
  class Application {
  
  }
  </code></pre>
  
  <p>There is a class ClientUtils in assetManager module in the package : <code>com.test.domain.assetManager.server.common.utils;</code></p>
  
  <p>annotated with : </p>
  
  <pre><code>@Slf4j
  @Configuration
  @Component("clientUtils")
  </code></pre>
  
  <p>There are beans that I am creating in this class and It uses other configuration classes for autowiring and creating beans.</p>
  
  <p>The beans are not getting generated as of now from this ClientUtils class. </p>
  
  <p>What can be a possible issue with this?</p>
  
  <p>The error i see is </p>
  
  <p>APPLICATION FAILED TO START</p>
  
  <hr>
  
  <p>Description:</p>
  
  <pre><code>Field locationService in com.test.companydomain.assetManager.server.vendor.converter.ExternalVendorPojoConversionHelper required a bean of type 
  'com.test.companydomain.assetManager.server.common.utils.client.LocationService' that could not be found.
  </code></pre>
  
  <p>This class LocationService is also annotated with @Component for spring to create its bean.</p>