title: ClassNotFoundException when starting tomcat
body: <p>I'm trying to make a REST web service.</p>
  
  <p>My project looks like :</p>
  
  <p><img src="https://i.stack.imgur.com/12B1E.jpg" alt="enter image description here"></p>
  
  <p>The traceback is :</p>
  
  <pre><code>8 déc. 2011 18:31:36 org.apache.catalina.core.AprLifecycleListener init
  INFO: The Apache Tomcat Native library which allows optimal performance in production     environments was not found on the java.library.path: C:\Program Files\MyEclipse\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\bin;C:\Program Files\MyEclipse\Common\plugins\com.genuitec.eclipse.easie.tomcat.myeclipse_9.0.0.me201109141806\tomcat\bin
  8 déc. 2011 18:31:36 org.apache.coyote.http11.Http11Protocol init
  INFO: Initialisation de Coyote HTTP/1.1 sur http-8080
  8 déc. 2011 18:31:36 org.apache.catalina.startup.Catalina load
  INFO: Initialization processed in 394 ms
  8 déc. 2011 18:31:37 org.apache.catalina.core.StandardService start
  INFO: Démarrage du service Catalina
  8 déc. 2011 18:31:37 org.apache.catalina.core.StandardEngine start
  INFO: Starting Servlet Engine: Apache Tomcat/6.0.13
  8 déc. 2011 18:31:37 org.apache.catalina.startup.HostConfig deployWAR
  INFO: Déploiement de l'archive Test-0.0.1-SNAPSHOT.war de l'application web
  8 déc. 2011 18:31:37 org.apache.catalina.loader.WebappClassLoader validateJarFile
  INFO: validateJarFile(C:\Documents and Settings\Naya\Workspaces\MyEclipse 10\.metadata\.me_tcat\webapps\Test-0.0.1-SNAPSHOT\WEB-INF\lib\javax.servlet-3.0.1.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
  8 déc. 2011 18:31:37 org.apache.catalina.loader.WebappClassLoader validateJarFile
  INFO: validateJarFile(C:\Documents and Settings\Naya\Workspaces\MyEclipse 10\.metadata\.me_tcat\webapps\Test-0.0.1-SNAPSHOT\WEB-INF\lib\servlet-api-2.5.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
  8 déc. 2011 18:31:38 org.apache.catalina.core.ApplicationContext log
  INFO: La servlet Test JAX-RS REST Servlet est marqué comme indisponible
  8 déc. 2011 18:31:38 org.apache.catalina.core.ApplicationContext log
  GRAVE: Error loading WebappClassLoader
  delegate: false
    repositories:
      /WEB-INF/classes/
  ----------&gt; Parent Classloader:
  org.apache.catalina.loader.StandardClassLoader@19e8329
   com.sun.jersey.spi.container.servlet.ServletContainer
  java.lang.ClassNotFoundException: com.sun.jersey.spi.container.servlet.ServletContainer
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1083)
      at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
      at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4042)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4348)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
      at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
      at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
      at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
      at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
      at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
      at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
      at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
      at org.apache.catalina.core.StandardService.start(StandardService.java:516)
      at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
      at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
  </code></pre>
  
  <p>My web.xml :</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;web-app version="3.0" 
      xmlns="http://java.sun.com/xml/ns/javaee" 
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
      xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 
      http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"&gt;
    &lt;display-name&gt;&lt;/display-name&gt; 
    &lt;servlet&gt;
      &lt;display-name&gt;Test JAX-RS REST Servlet&lt;/display-name&gt;
      &lt;servlet-name&gt;Test JAX-RS REST Servlet&lt;/servlet-name&gt;
      &lt;servlet-class&gt;
          com.sun.jersey.spi.container.servlet.ServletContainer
      &lt;/servlet-class&gt;
    &lt;/servlet&gt;
    &lt;servlet-mapping&gt;
      &lt;servlet-name&gt;Test JAX-RS REST Servlet&lt;/servlet-name&gt;
      &lt;url-pattern&gt;/services/*&lt;/url-pattern&gt;
    &lt;/servlet-mapping&gt;
    &lt;welcome-file-list&gt;
      &lt;welcome-file&gt;index.jsp&lt;/welcome-file&gt;
    &lt;/welcome-file-list&gt;
  &lt;/web-app&gt;
  </code></pre>
  
  <p>Can anyone help me ?</p>