Spring beans not found in library jar : <p>I created a jar with some spring beans and included that jar in my other java project.</p>

<p>Now, if I run the parent project using spring boot, then the project can find the beans of the dependency jar but if I create a war of the parent project and deploy it on tomcat, then these jar beans are not found...</p>
