title: Spring Boot scan of external libraries
body: <p>I have multiple projects (non spring boot) with Spring Elements- <code>@RestController</code>.</p>
  
  <p>I have one Spring boot main that uses these projects as dependencies and suppose to load their controllers at runtime. </p>
  
  <p>However all Spring classes <strong>outside the main project</strong> are not being (scanned) loaded. I've tried using <code>@ComponentScan</code> <code>@EntityScan</code> with a base package, but it doesn't work. I guess that is because all of the classes I want to scan are not within the "<code>/BOOT-INF/classes</code>" but exists inside JAR files in the "<code>/BOOT-INF/lib</code>" folder within JAR files. Running the project from the IDE works when all projects exists in the workspace.
  Thanks!</p>