title: Spring Boot: class in package not being loaded
body: <p>I'm having trouble with a Spring Boot app that is not loading a config class with 2 beans in it. The weird thing is that another config class in the same package gets loaded.</p>
  
  <p>Both config classes have <code>@Configuration</code> in them. The one that doesn't load also has a <code>@ComponentScan(basePackages = {"com.example.package.in.jar"})</code> in it.</p>
  
  <p>The base packages value refers to a package in a loaded jar file.</p>
  
  <p>I'm using <code>Gradle 3.4.1</code>, <code>Spring Boot 1.5.3</code>. When I turn on Spring debugging, it shows the other config class being found and loaded, but it just skips over the other one. No exceptions are thrown - no errors at all.</p>
  
  <p>It would be one thing if the code didn't run, but at least load the class or throw an error, but the log file that was created showed no errors.</p>