title: Tomcat unable to start application
body: <p>I have installed <code>petclinic</code> application in <code>tomcat</code> server. During <code>tomcat</code> start up and loading of <code>petclinic</code> application I am having the error with the followed stack trace. How to resolve this issue ?</p>
  
  <blockquote>
    <p>apache-tomcat-7.0.47/webapps/petclinic
        Oct 27, 2016 12:14:36 PM org.apache.catalina.core.StandardContext startInternal</p>
    
    <p>SEVERE: Error during ServletContainerInitializer processing
       javax.servlet.ServletException: Failed to instantiate WebApplicationInitializer class  at
    org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:160)
      at
    org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5423)
      at
    org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      at
    org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
      at
    org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
      at
    org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
      at
    org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1120)
      at
    org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1678)
      at
    java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:483)
      at java.util.concurrent.FutureTask.run(FutureTask.java:274)     at
    java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1157)
      at
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:627)
      at java.lang.Thread.run(Thread.java:798) Caused by:
    java.lang.NoClassDefFoundError:
    org.glassfish.jersey.server.ResourceConfig    at
    java.lang.J9VMInternals.verifyImpl(Native Method)     at
    java.lang.J9VMInternals.verify(J9VMInternals.java:94)     at
    java.lang.J9VMInternals.initialize(J9VMInternals.java:169)    at
    java.lang.J9VMInternals.newInstanceImpl(Native Method)    at
    java.lang.Class.newInstance(Class.java:1781)  at
    org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:157)
      ... 12 more Caused by: java.lang.ClassNotFoundException:
    org.glassfish.jersey.server.ResourceConfig    at
    org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1702)
      at
    org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1547)
      ... 18 more</p>
  </blockquote>