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

Samebug tips

,
via askubuntu.com by Unknown author

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

,
via netty.io by Unknown author

Needs to add netty-transport-native-epoll with a OS classifier to the classpath, it's not included in netty-all

Solutions on the web

via GitHub by adamgcraig
, 11 months ago
javax/servlet/http/HttpServlet
via Geographic Information Systems by kinkajou
, 1 year ago
javax/media/jai/PropertySource Am I missing any library? I have installed both jai-1_1_3_lib-windows and jai_imageio Exception in thread "main" java.lang.NoClassDefFoundError: javax/media/jai/PropertySource
via GitHub by geb-bot
, 2 years ago
javax/servlet/ServletContextListener
via Stack Overflow by REALDrummer
, 2 years ago
via Stack Overflow by Unknown author, 2 years ago
javax/transaction/TransactionManager
via Stack Overflow by user2742409
, 1 year ago
javax/xml/rpc/encoding/SerializerFactory
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)
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)

Users with the same issue

Once, 4 hours ago
Once, 22 hours ago
2 times, 3 days ago
Once, 4 days ago
Once, 4 days ago

Write tip

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