java.lang.NoClassDefFoundError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • From http://forum.springsource.org/showthread.php?t=101098: If you you cerate a new TC server config from the wizard you will get this error: Could not load the Tomcat server configuration at \Servers\SpringSource tc Server Developer Edition (Runtime) v2.1 at localhost-config. The configuration may be corrupt or incomplete. When you start up the pre-configured embeded TC server you will get this exception it fails to starup the Insight context: SEVERE: Error configuring application listener of class org.springframework.web.context.ContextLoaderListe ner java.lang.NoClassDefFoundError: org/springframework/context/ApplicationContextException at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Cla ss.java:2357) at java.lang.Class.getConstructor0(Class.java:2671) at java.lang.Class.newInstance0(Class.java:321) at java.lang.Class.newInstance(Class.java:303) at org.apache.catalina.core.StandardContext.listenerS tart(StandardContext.java:4079) at org.apache.catalina.core.StandardContext.start(Sta ndardContext.java:4630) at org.apache.catalina.core.ContainerBase.addChildInt ernal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(Co ntainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(Sta ndardHost.java:568) at org.apache.catalina.startup.HostConfig.deployDescr iptor(HostConfig.java:637) at org.apache.catalina.startup.HostConfig.deployDescr iptors(HostConfig.java:563) at org.apache.catalina.startup.HostConfig.deployApps( HostConfig.java:498) at org.apache.catalina.startup.HostConfig.start(HostC onfig.java:1282) at org.apache.catalina.startup.HostConfig.lifecycleEv ent(HostConfig.java:321) at org.apache.catalina.util.LifecycleSupport.fireLife cycleEvent(LifecycleSupport.java:142) at org.apache.catalina.core.ContainerBase.start(Conta inerBase.java:1053) at org.apache.catalina.core.StandardHost.start(Standa rdHost.java:807) at org.apache.catalina.core.ContainerBase.start(Conta inerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(Stan dardEngine.java:445) at org.apache.catalina.core.StandardService.start(Sta ndardService.java:519) at org.apache.catalina.core.StandardServer.start(Stan dardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalin a.java:581) at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.startup.Bootstrap.start(Bootst rap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:414) Jan 26, 2011 5:03:15 PM org.apache.catalina.core.StandardContext listenerStart SEVERE: Skipped installing application listeners due to previous error(s) Jan 26, 2011 5:03:15 PM org.apache.catalina.core.StandardContext start SEVERE: Error listenerStart Jan 26, 2011 5:03:15 PM org.apache.catalina.core.StandardContext start SEVERE: Context [/insight] startup failed due to previous errors
    via by Steffen Pingel,
  • From http://forum.springsource.org/showthread.php?t=101098: If you you cerate a new TC server config from the wizard you will get this error: Could not load the Tomcat server configuration at \Servers\SpringSource tc Server Developer Edition (Runtime) v2.1 at localhost-config. The configuration may be corrupt or incomplete. When you start up the pre-configured embeded TC server you will get this exception it fails to starup the Insight context: SEVERE: Error configuring application listener of class org.springframework.web.context.ContextLoaderListe ner java.lang.NoClassDefFoundError: org/springframework/context/ApplicationContextException at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Cla ss.java:2357) at java.lang.Class.getConstructor0(Class.java:2671) at java.lang.Class.newInstance0(Class.java:321) at java.lang.Class.newInstance(Class.java:303) at org.apache.catalina.core.StandardContext.listenerS tart(StandardContext.java:4079) at org.apache.catalina.core.StandardContext.start(Sta ndardContext.java:4630) at org.apache.catalina.core.ContainerBase.addChildInt ernal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(Co ntainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(Sta ndardHost.java:568) at org.apache.catalina.startup.HostConfig.deployDescr iptor(HostConfig.java:637) at org.apache.catalina.startup.HostConfig.deployDescr iptors(HostConfig.java:563) at org.apache.catalina.startup.HostConfig.deployApps( HostConfig.java:498) at org.apache.catalina.startup.HostConfig.start(HostC onfig.java:1282) at org.apache.catalina.startup.HostConfig.lifecycleEv ent(HostConfig.java:321) at org.apache.catalina.util.LifecycleSupport.fireLife cycleEvent(LifecycleSupport.java:142) at org.apache.catalina.core.ContainerBase.start(Conta inerBase.java:1053) at org.apache.catalina.core.StandardHost.start(Standa rdHost.java:807) at org.apache.catalina.core.ContainerBase.start(Conta inerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(Stan dardEngine.java:445) at org.apache.catalina.core.StandardService.start(Sta ndardService.java:519) at org.apache.catalina.core.StandardServer.start(Stan dardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalin a.java:581) at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.startup.Bootstrap.start(Bootst rap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:414) Jan 26, 2011 5:03:15 PM org.apache.catalina.core.StandardContext listenerStart SEVERE: Skipped installing application listeners due to previous error(s) Jan 26, 2011 5:03:15 PM org.apache.catalina.core.StandardContext start SEVERE: Error listenerStart Jan 26, 2011 5:03:15 PM org.apache.catalina.core.StandardContext start SEVERE: Context [/insight] startup failed due to previous errors
    via by Steffen Pingel,
  • JSF + RichFaces
    via by 843844,
  • How to remove exception in jboss
    via by Unknown author,
    • java.lang.NoClassDefFoundError: org/springframework/context/ApplicationContextException at java.lang.Class.getDeclaredConstructors0(Native Method)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    rprp
    1 times, last one,
    43 more bugmates