<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: I'm running a Spark2 job but get a java.lang.NoClassDefFoundError: javax/servlet/FilterRegistration in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/I-m-running-a-Spark2-job-but-get-a-java-lang/m-p/157000#M119413</link>
    <description>&lt;P&gt;Looks to me like there's some conflicting versions of the servlet API on your classpath, and even though the spark jetty version is shaded, the version of the servlet API classes which are being loaded aren't.  I can see that you've already excluded the one in hadoop-common, so I'm not sure where else it can be coming from, except maybe hbase. Alternatively, no servlet api is being pulled in, and you need to get one on the CP&lt;/P&gt;&lt;P&gt;try doing a&lt;/P&gt;&lt;PRE&gt;mvn dependency:tree -Dverbose &amp;gt; target/dependencies.txt&lt;/PRE&gt;&lt;P&gt;and then examine the dependencies.txt file to see where it's being pulled in. &lt;/P&gt;</description>
    <pubDate>Thu, 02 Feb 2017 23:50:29 GMT</pubDate>
    <dc:creator>stevel</dc:creator>
    <dc:date>2017-02-02T23:50:29Z</dc:date>
  </channel>
</rss>

