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

csdn.net | 4 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Problems deploying Spring 2 aplication in Apache Tomcat 6

    Stack Overflow | 6 years ago | CraicFinder
    java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener
  2. 0

    Why can't Eclipse find javax.servlet.ServletContextListener?

    Stack Overflow | 2 years ago | josefk
    java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Struts 2 - SEVERE: Exception starting filter struts2 ISSUE

    nabble.com | 1 year ago
    java.lang.NoClassDefFoundError: javax/servlet/Filter
  5. 0

    Tomcat - User - java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener

    nabble.com | 1 year ago
    java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener

  1. Handemelindo 4 times, last 1 month ago
  2. Hronom 1 times, last 1 month ago
  3. andyglick 2 times, last 2 months ago
  4. batwalrus76 6 times, last 2 months ago
  5. kjhdofjosvs 3 times, last 3 months ago
7 more registered users
88 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NoClassDefFoundError

    javax/servlet/http/HttpServlet

    at java.lang.ClassLoader.defineClass1()
  2. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassLoader.defineClass1(Native Method)
    2. java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    3. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    4. java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    5. java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    6. java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    7. java.security.AccessController.doPrivileged(Native Method)
    8. java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    9. java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    10. java.lang.ClassLoader.loadClass(ClassLoader.java:299)
    11. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    12. java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    12 frames
  3. Glassfish Core
    Catalina.start
    1. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1270)
    2. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)
    3. org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1034)
    4. org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
    5. org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3951)
    6. org.apache.catalina.core.StandardContext.start(StandardContext.java:4225)
    7. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
    8. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
    9. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
    10. org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:904)
    11. org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:867)
    12. org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)
    13. org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
    14. org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
    15. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    16. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
    17. org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
    18. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
    19. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
    20. org.apache.catalina.core.StandardService.start(StandardService.java:450)
    21. org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
    22. org.apache.catalina.startup.Catalina.start(Catalina.java:551)
    22 frames
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:585)
    4 frames
  5. Glassfish Core
    Bootstrap.main
    1. org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
    2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
    2 frames