title: server tomcat v8.0 server at localhost failed to start
body: <p>I seem to have a problem with my web.xml file.
  every time I run the Apache tomcat 8 server, it gives this error:
  server tomcat v8.0 server at localhost failed to start.</p>
  
  <p>when I removed the servlets of the xml file, the server worked!!
  my web.xml is as follow:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5"&gt;
    &lt;display-name&gt;ZiyadA00191914&lt;/display-name&gt;
  
  
    &lt;servlet&gt;
      &lt;servlet-name&gt;RegisterServlet&lt;/servlet-name&gt;
      &lt;servlet-class&gt;controllers.RegisterServlet&lt;/servlet-class&gt;
    &lt;/servlet&gt;
  
  &lt;servlet-mapping&gt;
      &lt;servlet-name&gt;RegisterServlet&lt;/servlet-name&gt;
      &lt;url-pattern&gt;/RegisterServlet&lt;/url-pattern&gt;
    &lt;/servlet-mapping&gt;
  
    &lt;servlet&gt;
      &lt;servlet-name&gt;LoginServlet&lt;/servlet-name&gt;
      &lt;servlet-class&gt;controllers.LoginServlet&lt;/servlet-class&gt;
    &lt;/servlet&gt;
  
  &lt;servlet-mapping&gt;
      &lt;servlet-name&gt;LoginServlet&lt;/servlet-name&gt;
      &lt;url-pattern&gt;/LoginServlet&lt;/url-pattern&gt;
    &lt;/servlet-mapping&gt;
  
      &lt;servlet&gt;
      &lt;servlet-name&gt;ListEventMainServlet&lt;/servlet-name&gt;
      &lt;servlet-class&gt;controllers.ListEventMainServlet&lt;/servlet-class&gt;
    &lt;/servlet&gt;
  
  &lt;servlet-mapping&gt;
      &lt;servlet-name&gt;ListEventMainServlet&lt;/servlet-name&gt;
      &lt;url-pattern&gt;/ListEventMainServlet&lt;/url-pattern&gt;
    &lt;/servlet-mapping&gt;
  
      &lt;servlet&gt;
      &lt;servlet-name&gt;ListEventByCategory&lt;/servlet-name&gt;
      &lt;servlet-class&gt;controllers.ListEventByCategory&lt;/servlet-class&gt;
    &lt;/servlet&gt;
  
  &lt;servlet-mapping&gt;
      &lt;servlet-name&gt;ListEventByCategory&lt;/servlet-name&gt;
      &lt;url-pattern&gt;/ListEventByCategory&lt;/url-pattern&gt;
    &lt;/servlet-mapping&gt;
  
  
    &lt;servlet&gt;
      &lt;servlet-name&gt;CartServlet&lt;/servlet-name&gt;
      &lt;servlet-class&gt;controllers.CartServlet&lt;/servlet-class&gt;
    &lt;/servlet&gt;
  
  &lt;servlet-mapping&gt;
      &lt;servlet-name&gt;CartServlet&lt;/servlet-name&gt;
      &lt;url-pattern&gt;/CartServlet&lt;/url-pattern&gt;
    &lt;/servlet-mapping&gt;
  
      &lt;servlet&gt;
      &lt;servlet-name&gt;OrderServlet&lt;/servlet-name&gt;
      &lt;servlet-class&gt;controllers.OrderServlet&lt;/servlet-class&gt;
    &lt;/servlet&gt;
  
  &lt;servlet-mapping&gt;
      &lt;servlet-name&gt;OrderServlet&lt;/servlet-name&gt;
      &lt;url-pattern&gt;/OrderServlet&lt;/url-pattern&gt;
    &lt;/servlet-mapping&gt;
  
    &lt;servlet&gt;
      &lt;servlet-name&gt;FeedbackServlet&lt;/servlet-name&gt;
      &lt;servlet-class&gt;controllers.FeedbackServlet&lt;/servlet-class&gt;
    &lt;/servlet&gt;
  
  &lt;servlet-mapping&gt;
      &lt;servlet-name&gt;FeedbackServlet&lt;/servlet-name&gt;
      &lt;url-pattern&gt;/FeedbackServlet&lt;/url-pattern&gt;
    &lt;/servlet-mapping&gt;
  
      &lt;servlet&gt;
      &lt;servlet-name&gt;ShippingServlet&lt;/servlet-name&gt;
      &lt;servlet-class&gt;controllers.ShippingServlet&lt;/servlet-class&gt;
    &lt;/servlet&gt;
  
  &lt;servlet-mapping&gt;
      &lt;servlet-name&gt;ShippingServlet&lt;/servlet-name&gt;
      &lt;url-pattern&gt;/ShippingServlet&lt;/url-pattern&gt;
    &lt;/servlet-mapping&gt;
  
  
    &lt;servlet&gt;
      &lt;servlet-name&gt;LogoutServlet&lt;/servlet-name&gt;
      &lt;servlet-class&gt;controllers.LogoutServlet&lt;/servlet-class&gt;
    &lt;/servlet&gt;
  
  &lt;servlet-mapping&gt;
      &lt;servlet-name&gt;LogoutServlet&lt;/servlet-name&gt;
      &lt;url-pattern&gt;/LogoutServlet&lt;/url-pattern&gt;
    &lt;/servlet-mapping&gt;
  
  
    &lt;welcome-file-list&gt;
      &lt;welcome-file&gt;Driver.jsp&lt;/welcome-file&gt;
      &lt;welcome-file&gt;index.jsp&lt;/welcome-file&gt;
      &lt;welcome-file&gt;main.jsp&lt;/welcome-file&gt;
      &lt;welcome-file&gt;listEvents.jsp&lt;/welcome-file&gt;
    &lt;/welcome-file-list&gt;
  &lt;/web-app&gt;
  </code></pre>
  
  <p>any suggestion to get it working without removing code of the xml file ?</p>
  
  <p>Thanks in advance guys.</p>