java.lang.NoClassDefFoundError

javax/servlet/http/HttpServlet


Samebug tips5

Set the path for java. Try to look it from here.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.


Solutions on the web4782

Solution icon of coderanch
via Coderanch by Matthew Phillips, 8 months ago
javax/servlet/http/HttpServlet

Solution icon of coderanch
via Coderanch by Sergio Barreros, 8 months ago
javax/servlet/http/HttpServlet

Solution icon of coderanch
via Coderanch by christelle scharff, 8 months ago
javax/servlet/http/HttpServlet

Solution icon of googlegroups
via Google Groups by SINGARAVELAN ARTHANARIESWARAN, 1 year ago
javax/servlet/http/HttpServlet

Solution icon of apache
via ws-soap-user by Scott Nichol, 1 month ago
javax/servlet/http/HttpServlet

Solution icon of apache
via xml-soap-user by Bivins, Jeff, 1 year ago
javax/servlet/http/HttpServlet

Solution icon of apache
via ws-soap-user by Scott Nichol, 1 month ago
javax/servlet/http/HttpServlet

Solution icon of apache
via ws-soap-user by Bivins, Jeff, 1 month ago
javax/servlet/http/HttpServlet

Solution icon of oraclecommunity
via Oracle Community by 843840, 1 year ago
javax/servlet/http/HttpServlet

Solution icon of oraclecommunity
via Oracle Community by 843840, 1 year ago
javax/servlet/http/HttpServlet

Stack trace

  • java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:763) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:467) at java.net.URLClassLoader.access$100(URLClassLoader.java:73) at java.net.URLClassLoader$1.run(URLClassLoader.java:368) at java.net.URLClassLoader$1.run(URLClassLoader.java:362) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:361) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:281) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.ClassNotFoundException: javax.servlet.http.HttpServlet at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 13 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 4 months ago
Samebug visitor profile picture
Unknown user
Once, 8 months ago
Samebug visitor profile picture
Unknown user
Once, 3 days ago
Once, 1 week ago
Samebug visitor profile picture
Unknown user
Once, 1 month ago
1597 more bugmates