title: SpringBootServletInitializer for multiple services in war for Tomcat
body: <p>Spec : SpringBoot 4.x,Tomcat 7.x,JDK1.7</p>
  
  <p>Process : Have 2 Rest Services as in separate package<br>
  with unique <code>@RequestMapping</code> and deployed as war to tomcat7.x</p>
  
  <pre><code>package com.servives.webservice  ~ Service A
  package com.servives.dbservive   ~ Service B
  package com.initilizer          ~  Service C
  </code></pre>
  
  <p>Problem  : </p>
  
  <p>Service <em>A works</em> if the "SpringBootServletInitializer" is present in 
  same package , while Service <em>B does not work</em>.</p>
  
  <p>Service <em>B works</em> if the "SpringBootServletInitializer" is present in 
  same package , while Service <em>A does not work</em>.</p>
  
  <p>Service <em>A &amp; B does not work</em> if "SpringBootServletInitializer" is present in 
  separate package 'C' </p>
  
  <p>Question : Is this a Bug or Am i doing some mistake ?</p>
  
  <p>Note: Code sample not sharable for huge dependency.</p>