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


Samebug tips

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


,
via askubuntu.com by Unknown author

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


,
via netty.io by Unknown author

Solutions on the web

Solution icon of github
via GitHub by adamgcraig
, 8 months ago
javax/servlet/http/HttpServlet

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

Solution icon of web
via blogspot.com by Unknown author, 1 year ago
javax/servlet/http/HttpServlet

Solution icon of web
javax/servlet/http/HttpServlet

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

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

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

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

Solution icon of stackoverflow
via Stack Overflow by Ali Na
, 1 month ago
javax/servlet/http/HttpServlet

Solution icon of web
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, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 6 months ago
Samebug visitor profile picture
Unknown user
Once, 10 months ago
2 times, 3 days ago
Once, 1 week ago
1630 more bugmates