java.lang.NoClassDefFoundError: javax/servlet/ServletRegistration$Dynamic

oschina.net | 2 months ago
  1. 0

    开源中国(OSChina.NET)

    oschina.net | 2 months ago
    java.lang.NoClassDefFoundError: javax/servlet/ServletRegistration$Dynamic
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. treefolk 1 times, last 1 week ago
  2. Tahir 2 times, last 2 months ago
  3. Piz 2027 times, last 4 months ago
  4. jedcua 1 times, last 4 months ago
  5. esaar 3 times, last 4 months ago
5 more registered users
90 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.ClassNotFoundException

    javax.servlet.ServletRegistration$Dynamic

    at org.apache.catalina.loader.WebappClassLoader.loadClass()
  2. Glassfish Core
    WebappClassLoader.loadClass
    1. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)
    2. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
    2 frames
  3. Java RT
    Class.getDeclaredMethods
    1. java.lang.Class.getDeclaredMethods0(Native Method)
    2. java.lang.Class.privateGetDeclaredMethods(Class.java:2531)
    3. java.lang.Class.getDeclaredMethods(Class.java:1855)
    3 frames
  4. Glassfish Core
    Catalina.start
    1. org.apache.catalina.util.DefaultAnnotationProcessor.processAnnotations(DefaultAnnotationProcessor.java:159)
    2. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3777)
    3. org.apache.catalina.core.StandardContext.start(StandardContext.java:4337)
    4. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
    5. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
    6. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
    7. org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
    8. org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
    9. org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
    10. org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
    11. org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
    12. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
    13. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
    14. org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
    15. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    16. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
    17. org.apache.catalina.core.StandardService.start(StandardService.java:516)
    18. org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
    19. org.apache.catalina.startup.Catalina.start(Catalina.java:566)
    19 frames
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  6. Glassfish Core
    Bootstrap.main
    1. org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
    2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
    2 frames