Home  >  Forum  >  JSP, Servlet
Post New Query

Caused by: java.lang.ClassNotFoundException: javax.servlet.Filter



Asked on February 10, 2016
Caused by: java.lang.ClassNotFoundException: javax.servlet.Filter
at java.net.URLClassLoader$1.run(URLClassLoader.java:372) ~[na:1.8.0]
at java.net.URLClassLoader$1.run(URLClassLoader.java:361) ~[na:1.8.0]
at java.security.AccessController.doPrivileged(Native Method) ~[na:1.8.0]
at java.net.URLClassLoader.findClass(URLClassLoader.java:360) ~[na:1.8.0]
at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[na:1.8.0]
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) ~[na:1.8.0]

Which Servlet JAR should I include to fix above error.



Replied on February 10, 2016
Incluse servlet-api JAR

<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>3.0-alpha-1</version>
</dependency>


Write Answer







©2019 concretepage.com | Privacy Policy | Contact Us