title: Filter that exists in Tomcat doesn't in Jetty, how do I get Jetty to ignore it?
body: <p>We have a project that we run in both Tomcat and Jetty. I have added a filter in my web.xml:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;filter&gt;
      &lt;filter-name&gt;CorsFilter&lt;/filter-name&gt;
      &lt;filter-class&gt;org.apache.catalina.filters.CorsFilter&lt;/filter-class&gt;
  &lt;/filter&gt;
  </code></pre>
  
  <p>The CorsFilter class is shipped with Tomcat, but Jetty doesn't find it (and thus doesn't start). </p>
  
  <p>Is there any way I can get Jetty to ignore this declaration? Or make it only apply to Tomcat?</p>