Announcement Announcement Module
Collapse
No announcement yet.
How I can sort out these exceptions? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How I can sort out these exceptions?

    I use the Hibernate first time with Spring. The app fail to start due to exceptions. I have fixed a few, but I have no clue how to handle the result. How I can resolve these exceptions?

    Here is the first one:


    2004-10-18 17:03:51 StandardContext[/wiring]Marking servlet SpringContextServlet as unavailable
    2004-10-18 17:03:51 StandardContext[/wiring]Error loading WebappClassLoader
    delegate: false
    repositories:
    /WEB-INF/classes/
    ----------> Parent Classloader:
    StandardClassLoader
    delegate: true
    repositories:
    file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\shared\classes\
    ----------> Parent Classloader:
    StandardClassLoader
    delegate: true
    repositories:
    file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\common\classes\
    file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\common\endorsed\xercesImpl.jar
    file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\common\endorsed\xml-apis.jar
    file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib\ant-launcher.jar
    file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib\ant.jar
    file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib\commons-collections-2.1.1.jar
    file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib\commons-dbcp-1.2.1.jar
    file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib\commons-el.jar
    file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib\commons-pool-1.2.jar
    file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib\jasper-compiler.jar
    file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib\jasper-runtime.jar
    file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib\jsp-api.jar
    file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib\naming-common.jar
    file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib\naming-factory.jar
    file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib\naming-java.jar
    file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib\naming-resources.jar
    file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib\pg74.213.jdbc3.jar
    file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib\servlet-api.jar
    file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\common\lib\tools.jar
    ----------> Parent Classloader:
    sun.misc.Launcher$AppClassLoader@e80a59


    org.springframework.web.context.ContextLoaderServl et
    java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderServl et
    at org.apache.catalina.loader.WebappClassLoader.loadC lass(WebappClassLoader.java:1340)
    at org.apache.catalina.loader.WebappClassLoader.loadC lass(WebappClassLoader.java:1189)
    at org.apache.catalina.core.StandardWrapper.loadServl et(StandardWrapper.java:964)
    at org.apache.catalina.core.StandardWrapper.load(Stan dardWrapper.java:862)
    at org.apache.catalina.core.StandardContext.loadOnSta rtup(StandardContext.java:4013)
    at org.apache.catalina.core.StandardContext.start(Sta ndardContext.java:4357)
    at org.apache.catalina.core.ContainerBase.addChildInt ernal(ContainerBase.java:823)
    at org.apache.catalina.core.ContainerBase.addChild(Co ntainerBase.java:807)
    at org.apache.catalina.core.StandardHost.addChild(Sta ndardHost.java:595)
    at org.apache.catalina.core.StandardHostDeployer.inst all(StandardHostDeployer.java:277)
    at org.apache.catalina.core.StandardHost.install(Stan dardHost.java:832)
    at org.apache.catalina.startup.HostConfig.deployWARs( HostConfig.java:617)
    at org.apache.catalina.startup.HostConfig.deployApps( HostConfig.java:431)
    at org.apache.catalina.startup.HostConfig.start(HostC onfig.java:968)
    at org.apache.catalina.startup.HostConfig.lifecycleEv ent(HostConfig.java:349)
    at org.apache.catalina.util.LifecycleSupport.fireLife cycleEvent(LifecycleSupport.java:119)
    at org.apache.catalina.core.ContainerBase.start(Conta inerBase.java:1091)
    at org.apache.catalina.core.StandardHost.start(Standa rdHost.java:789)
    at org.apache.catalina.core.ContainerBase.start(Conta inerBase.java:1083)
    at org.apache.catalina.core.StandardEngine.start(Stan dardEngine.java:478)
    at org.apache.catalina.core.StandardService.start(Sta ndardService.java:480)
    at org.apache.catalina.core.StandardServer.start(Stan dardServer.java:2313)
    at org.apache.catalina.startup.Catalina.start(Catalin a.java:556)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.catalina.startup.Bootstrap.start(Bootst rap.java:284)
    at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:422)

  • #2
    org.springframework.web.context.ContextLoaderServl et
    java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderServl et
    Is spring jar in your classpath?

    Comment


    • #3
      Originally posted by irbouho
      org.springframework.web.context.ContextLoaderServl et
      java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderServl et
      Is spring jar in your classpath?
      Yes, it is under /WEB-INF/lib.

      As I said, the app was working before the change (adding all hibernate relative classes configuration files so on).

      Comment

      Working...
      X