title: webshpere to tomcat migration
body: <p><a href="https://i.stack.imgur.com/w0Zlr.png" rel="nofollow noreferrer">1</a>I am trying to migrate an application from WebSphere to Tomcat.The service i have implements ServiceLifecycle(from javax.xml.rpc.server).</p>
  
  <p>when i run it on Tomcat it gives me ClassCastException for Servlet: cannot be cast to javax.servlet.Servlet </p>
  
  <p>-i have added the required jars.</p>
  
  <p>-i have included it the deployement assembly as well.</p>
  
  <p>-i tried including and without including the jars in WEB-INF/lib</p>
  
  <p>Could anyone please provide any info on how to overcome this?</p>