title: SEVERE: Servlet [Jersey Web Application] in web application [/demorest] threw load() exception
body: <p>I'm trying to run on tomcat 10.0 and these are the version I'm using</p>
  <p>modelVersion 4.0.0
  groupId com.telusko
  artifactId demorest
  packaging war
  version 1.19.1
  name demorest Jersey Webapp</p>
  <p>I'm still getting the above issue and my Html page is showing HTTP status 404 along with <em><strong>The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.</strong></em></p>
  <p>Below is my web.xml code</p>
  <pre><code> xsi:schemaLocation=&quot;http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd&quot;&gt;
  
     &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
     &lt;groupId&gt;com.telusko&lt;/groupId&gt;
     &lt;artifactId&gt;demorest&lt;/artifactId&gt;
     &lt;packaging&gt;war&lt;/packaging&gt;
     &lt;version&gt;1.19.1&lt;/version&gt;
     &lt;name&gt;demorest Jersey Webapp&lt;/name&gt;
  
     &lt;build&gt;
         &lt;finalName&gt;demorest&lt;/finalName&gt;
         &lt;plugins&gt;
             &lt;plugin&gt;
                 &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
                 &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
                 &lt;inherited&gt;true&lt;/inherited&gt;
                 &lt;configuration&gt;
                     &lt;source&gt;1.6&lt;/source&gt;
                     &lt;target&gt;1.6&lt;/target&gt;
                 &lt;/configuration&gt;
             &lt;/plugin&gt;
             &lt;!-- Run the application using &quot;mvn embedded-glassfish:run&quot; --&gt;
             &lt;plugin&gt;
                 &lt;groupId&gt;org.glassfish&lt;/groupId&gt;
                 &lt;artifactId&gt;maven-embedded-glassfish-plugin&lt;/artifactId&gt;
                 &lt;version&gt;${glassfish.version}&lt;/version&gt;
                 &lt;configuration&gt;
                     &lt;goalPrefix&gt;embedded-glassfish&lt;/goalPrefix&gt;
                     &lt;app&gt;/Users/apoorvabasavaradder/eclipse-workspace/target/${project.build.finalName}.war&lt;/app&gt;
                     &lt;autoDelete&gt;true&lt;/autoDelete&gt;
                     &lt;port&gt;8080&lt;/port&gt;
                 &lt;/configuration&gt;
                 &lt;dependencies&gt;
                     &lt;dependency&gt;
                         &lt;groupId&gt;com.sun.jersey&lt;/groupId&gt;
                         &lt;artifactId&gt;jersey-servlet&lt;/artifactId&gt;
                         &lt;version&gt;${project.version}&lt;/version&gt;
                     &lt;/dependency&gt;
                     &lt;dependency&gt;
                         &lt;groupId&gt;javax.servlet&lt;/groupId&gt;
                         &lt;artifactId&gt;javax.servlet-api&lt;/artifactId&gt;
                         &lt;version&gt;3.0.1&lt;/version&gt;
                     &lt;/dependency&gt;
                 &lt;/dependencies&gt;
             &lt;/plugin&gt;
         &lt;/plugins&gt;
     &lt;/build&gt;
     &lt;dependencies&gt;
         &lt;dependency&gt;
             &lt;groupId&gt;com.sun.jersey&lt;/groupId&gt;
             &lt;artifactId&gt;jersey-servlet&lt;/artifactId&gt;
             &lt;version&gt;${jersey.version}&lt;/version&gt;
         &lt;/dependency&gt;
         &lt;dependency&gt;
             &lt;groupId&gt;com.sun.jersey&lt;/groupId&gt;
             &lt;artifactId&gt;jersey-json&lt;/artifactId&gt;
             &lt;version&gt;${jersey.version}&lt;/version&gt;
         &lt;/dependency&gt;
         &lt;dependency&gt;
             &lt;groupId&gt;junit&lt;/groupId&gt;
             &lt;artifactId&gt;junit&lt;/artifactId&gt;
             &lt;version&gt;4.8.2&lt;/version&gt;
             &lt;scope&gt;test&lt;/scope&gt;
         &lt;/dependency&gt;
         &lt;dependency&gt;
             &lt;groupId&gt;com.sun.jersey&lt;/groupId&gt;
             &lt;artifactId&gt;jersey-client&lt;/artifactId&gt;
             &lt;version&gt;${jersey.version}&lt;/version&gt;
             &lt;scope&gt;test&lt;/scope&gt;
         &lt;/dependency&gt;
         &lt;dependency&gt;
             &lt;groupId&gt;org.glassfish.extras&lt;/groupId&gt;
             &lt;artifactId&gt;glassfish-embedded-web&lt;/artifactId&gt;
             &lt;version&gt;${glassfish.version}&lt;/version&gt;
             &lt;scope&gt;test&lt;/scope&gt;
         &lt;/dependency&gt;
         &lt;!-- https://mvnrepository.com/artifact/com.sun.net.httpserver/http --&gt;
  &lt;dependency&gt;
     &lt;groupId&gt;com.sun.net.httpserver&lt;/groupId&gt;
     &lt;artifactId&gt;http&lt;/artifactId&gt;
     &lt;version&gt;20070405&lt;/version&gt;
  &lt;/dependency&gt;
         
     &lt;/dependencies&gt;
     &lt;properties&gt;
         &lt;jersey.version&gt;1.19.1&lt;/jersey.version&gt;
         &lt;glassfish.version&gt;3.1.1&lt;/glassfish.version&gt;
         &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
     &lt;/properties&gt;
  &lt;/project&gt;
  </code></pre>