java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via ws-soap-user by Bivins, Jeff, 6 months ago
javax/servlet/http/HttpServlet
via xml-soap-user by Bivins, Jeff, 6 months ago
javax/servlet/http/HttpServlet
via ws-soap-user by Scott Nichol, 6 months ago
javax/servlet/http/HttpServlet
via xml-soap-user by Scott Nichol, 6 months ago
javax/servlet/http/HttpServlet
via ws-soap-user by Bivins, Jeff, 6 months ago
javax/servlet/http/HttpServlet
via xml-soap-user by Bivins, Jeff, 6 months ago
javax/servlet/http/HttpServlet
java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:250)
at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
at java.lang.ClassLoader.loadClass(ClassLoader.java:292)
at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:566)
at java.lang.ClassLoader.loadClass(ClassLoader.java:292)
at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:566)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at org.apache.tomcat.util.depend.DependClassLoader.loadClassInternal1(UnknownSource)
at org.apache.tomcat.util.depend.DependClassLoader12$1.run(UnknownSource)
at org.apache.tomcat.util.depend.DependClassLoader12.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at org.apache.tomcat.facade.ServletHandler.getServlet(UnknownSource)
at org.apache.tomcat.facade.ServletHandler.preInit(Unknown Source)
at org.apache.tomcat.facade.ServletHandler.init(Unknown Source)
at org.apache.tomcat.facade.ServletHandler.service(Unknown Source)
at org.apache.tomcat.core.ContextManager.internalService(UnknownSource)
at org.apache.tomcat.core.ContextManager.service(Unknown Source)
at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(UnknownSource)
at java.lang.Thread.run(Thread.java:536)

Users with the same issue

Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.