My jersey service application shows Class not found exception. But i have configured these dependancy in my pom file
<p><img src="https://i.stack.imgur.com/JhwdV.png" alt="Here is my project structure"></p>

<blockquote>
  <p>Error like this:-  java.lang.ClassNotFoundException:
  com.sun.jersey.spi.container.servlet.ServletContainer     at
  org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1676)
    at
  org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1521)
    at
  org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:415)</p>
</blockquote>

<p>It will work when I put all jar files under lib (WEB-INF/lib) folder.But I want pom file to solve this.</p>