title: What's wrong with this web.xml file? The content of web-app must match
body: <p>The following <code>web.xml</code> file</p>
  
  <pre><code>&lt;!DOCTYPE web-app PUBLIC
   "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
   "http://java.sun.com/dtd/web-app_2_3.dtd" &gt;
  
  &lt;web-app&gt;
  
      &lt;display-name&gt;My Web Application&lt;/display-name&gt;
  
  
      &lt;session-config&gt;
          &lt;session-timeout&gt;30&lt;/session-timeout&gt;
      &lt;/session-config&gt;
  
  
      &lt;filter&gt;
          &lt;filter-name&gt;dispatcher&lt;/filter-name&gt;
          &lt;filter-class&gt;org.javalite.activeweb.RequestDispatcher&lt;/filter-class&gt;
          &lt;init-param&gt;
              &lt;param-name&gt;exclusions&lt;/param-name&gt;
              &lt;param-value&gt;css,images,js&lt;/param-value&gt;
          &lt;/init-param&gt;
          &lt;init-param&gt;
              &lt;param-name&gt;root_controller&lt;/param-name&gt;
              &lt;param-value&gt;home&lt;/param-value&gt;
          &lt;/init-param&gt;
      &lt;/filter&gt;
  
  
      &lt;filter-mapping&gt;
          &lt;filter-name&gt;dispatcher&lt;/filter-name&gt;
          &lt;url-pattern&gt;/*&lt;/url-pattern&gt;
      &lt;/filter-mapping&gt;
  
  &lt;/web-app&gt;
  </code></pre>
  
  <p>causes Eclipse to swear that </p>
  
  <pre><code>The content of element type "web-app" must match "(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*)".
  </code></pre>
  
  <p>i.e. no obligatory tags.</p>
  
  <p>What is it dislike?</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>Error disappears if I remove <code>filter</code> and <code>filter-mapping</code> tags simultaneously. Unfortunately I need them and can't remove.</p>