Announcement Announcement Module
Collapse
No announcement yet.
org.springframework.web.context.ContextLoaderListe ner: Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • org.springframework.web.context.ContextLoaderListe ner:

    Mar 16, 2009 7:57:42 PM org.apache.catalina.core.AprLifecycleListener init
    INFO: The APR based Apache Tomcat Native library which allows optimal performanc
    e in production environments was not found on the java.library.path: C:\Program
    Files\Java\jdk1.5.0\bin;.;C:\Windows\system32;C:\W indows;C:\Sun\SDK\bin;C:\apach
    e-maven-2.0.10\bin;C:\apache-ant-1.7.1\bin;C:\Program Files\Java\jdk1.5.0\bin;C:
    \Windows\system32;C:\Windows;C:\Windows\System32\W bem;C:\Program Files\Common Fi
    les\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\10.0\DLLS
    hared\;C:\Sun\SDK\bin;;_4?Z4?
    Mar 16, 2009 7:57:43 PM org.apache.coyote.http11.Http11Protocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8080
    Mar 16, 2009 7:57:43 PM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 1399 ms
    Mar 16, 2009 7:57:43 PM org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    Mar 16, 2009 7:57:43 PM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
    2009-03-16 19:57:45,968 INFO (org.springframework.web.context.ContextLoader:180
    ) - Root WebApplicationContext: initialization started
    2009-03-16 19:57:46,124 INFO (org.springframework.web.context.support.XmlWebApp
    licationContext:400) - Refreshing org.springframework.web.context.support.XmlWeb
    ApplicationContext@4865ce: display name [Root WebApplicationContext]; startup da
    te [Mon Mar 16 19:57:46 GMT 2009]; root of context hierarchy
    2009-03-16 19:57:46,452 INFO (org.springframework.beans.factory.xml.XmlBeanDefi
    nitionReader:303) - Loading XML bean definitions from ServletContext resource [/
    WEB-INF/applicationContext.xml]
    2009-03-16 19:57:46,920 INFO (org.springframework.web.context.support.XmlWebApp
    licationContext:415) - Bean factory for application context [org.springframework
    .web.context.support.XmlWebApplicationContext@4865 ce]: org.springframework.beans
    .factory.support.DefaultListableBeanFactory@bb494b
    2009-03-16 19:57:47,029 INFO (org.springframework.beans.factory.support.Default
    ListableBeanFactory:398) - Pre-instantiating singletons in org.springframework.b
    eans.factory.support.DefaultListableBeanFactory@bb 494b: defining beans [a,b]; ro
    ot of factory hierarchy
    2009-03-16 19:57:47,029 INFO (org.springframework.beans.factory.support.Default
    ListableBeanFactory:340) - Destroying singletons in org.springframework.beans.fa
    ctory.support.DefaultListableBeanFactory@bb494b: defining beans [a,b]; root of f
    actory hierarchy
    2009-03-16 19:57:47,060 ERROR (org.springframework.web.context.ContextLoader:206
    ) - Context initialization failed
    org.springframework.beans.factory.CannotLoadBeanCl assException: Cannot find clas
    s [java.com.A] for bean with name 'a' defined in ServletContext resource [/WEB-I
    NF/applicationContext.xml]; nested exception is java.lang.ClassNotFoundException
    : java.com.A
    at org.springframework.beans.factory.support.Abstract BeanFactory.resolve
    BeanClass(AbstractBeanFactory.java:1160)
    at org.springframework.beans.factory.support.Abstract AutowireCapableBean
    Factory.predictBeanType(AbstractAutowireCapableBea nFactory.java:581)
    at org.springframework.beans.factory.support.Abstract BeanFactory.isFacto
    ryBean(AbstractBeanFactory.java:1364)
    at org.springframework.beans.factory.support.DefaultL istableBeanFactory.
    preInstantiateSingletons(DefaultListableBeanFactor y.java:406)
    at org.springframework.context.support.AbstractApplic ationContext.finish
    BeanFactoryInitialization(AbstractApplicationConte xt.java:735)
    at org.springframework.context.support.AbstractApplic ationContext.refres
    h(AbstractApplicationContext.java:369)
    at org.springframework.web.context.ContextLoader.crea teWebApplicationCon
    text(ContextLoader.java:251)
    at org.springframework.web.context.ContextLoader.init WebApplicationConte
    xt(ContextLoader.java:190)
    at org.springframework.web.context.ContextLoaderListe ner.contextInitiali
    zed(ContextLoaderListener.java:45)
    at org.apache.catalina.core.StandardContext.listenerS tart(StandardContex
    t.java:3843)
    at org.apache.catalina.core.StandardContext.start(Sta ndardContext.java:4
    342)
    at org.apache.catalina.core.ContainerBase.addChildInt ernal(ContainerBase
    .java:791)
    at org.apache.catalina.core.ContainerBase.addChild(Co ntainerBase.java:77
    1)
    at org.apache.catalina.core.StandardHost.addChild(Sta ndardHost.java:525)

    at org.apache.catalina.startup.HostConfig.deployDescr iptor(HostConfig.ja
    va:627)
    at org.apache.catalina.startup.HostConfig.deployDescr iptors(HostConfig.j
    ava:553)
    at org.apache.catalina.startup.HostConfig.deployApps( HostConfig.java:488
    )
    at org.apache.catalina.startup.HostConfig.start(HostC onfig.java:1149)
    at org.apache.catalina.startup.HostConfig.lifecycleEv ent(HostConfig.java
    :311)
    at org.apache.catalina.util.LifecycleSupport.fireLife cycleEvent(Lifecycl
    eSupport.java:117)
    at org.apache.catalina.core.ContainerBase.start(Conta inerBase.java:1053)

    at org.apache.catalina.core.StandardHost.start(Standa rdHost.java:719)
    at org.apache.catalina.core.ContainerBase.start(Conta inerBase.java:1045)

    at org.apache.catalina.core.StandardEngine.start(Stan dardEngine.java:443
    )
    at org.apache.catalina.core.StandardService.start(Sta ndardService.java:5
    16)
    at org.apache.catalina.core.StandardServer.start(Stan dardServer.java:710
    )
    at org.apache.catalina.startup.Catalina.start(Catalin a.java:578)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.apache.catalina.startup.Bootstrap.start(Bootst rap.java:288)
    at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:413)
    Caused by: java.lang.ClassNotFoundException: java.com.A
    at org.apache.catalina.loader.WebappClassLoader.loadC lass(WebappClassLoa
    der.java:1387)
    at org.apache.catalina.loader.WebappClassLoader.loadC lass(WebappClassLoa
    der.java:1233)
    at org.springframework.util.ClassUtils.forName(ClassU tils.java:230)
    at org.springframework.beans.factory.support.Abstract BeanDefinition.reso
    lveBeanClass(AbstractBeanDefinition.java:371)
    at org.springframework.beans.factory.support.Abstract BeanFactory.resolve
    BeanClass(AbstractBeanFactory.java:1157)
    ... 32 more
    Mar 16, 2009 7:57:47 PM org.apache.catalina.core.StandardContext start
    SEVERE: Error listenerStart
    Mar 16, 2009 7:57:47 PM org.apache.catalina.core.StandardContext start
    SEVERE: Context [/simpleurl] startup failed due to previous errors
    Mar 16, 2009 7:57:48 PM org.apache.coyote.http11.Http11Protocol start
    INFO: Starting Coyote HTTP/1.1 on http-8080
    Mar 16, 2009 7:57:48 PM org.apache.jk.common.ChannelSocket init
    INFO: JK: ajp13 listening on /0.0.0.0:8009
    Mar 16, 2009 7:57:48 PM org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/78 config=null
    Mar 16, 2009 7:57:48 PM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 5610 ms
    Last edited by prasanthv; Mar 16th, 2009, 04:31 PM. Reason: to correct

  • #2
    context initalisation failed

    please correct this one,,please help me out,,how to do this ,,its a spring mvc,,i am getting context initalisation failed

    Comment

    Working...
    X