org.springframework.beans.factory.BeanDefinitionStoreException: parsing XML document from ServletContext resource [/WEB-INF/applicationContext.xml]; nested exception is : Could not open ServletContext resource [/WEB-INF/applicationContext.xml]

coderanch.com | 4 months ago
  1. 0

    Getting error----NoContextLoaderListener registered (Spring forum at JavaRanch)

    coderanch.com | 12 months ago
    org.springframework.beans.factory.BeanDefinitionStoreException: parsing XML document from ServletContext resource [/WEB-INF/applicationContext.xml]; nested exception is : Could not open ServletContext resource [/WEB-INF/applicationContext.xml]
  2. 0

    Getting error----NoContextLoaderListener registered (Spring forum at Coderanch)

    coderanch.com | 4 months ago
    org.springframework.beans.factory.BeanDefinitionStoreException: parsing XML document from ServletContext resource [/WEB-INF/applicationContext.xml]; nested exception is : Could not open ServletContext resource [/WEB-INF/applicationContext.xml]
  3. 0

    XML error (Spring forum at JavaRanch)

    coderanch.com | 1 year ago
    org.springframework.beans.factory.BeanDefinitionStoreException: parsing XML document from ServletContext resource [/WEB-INF/applicationContext.xml]; nested exception is : Could not open ServletContext resource [/WEB-INF/applicationContext.xml]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Spring PropertyPlaceholderConfigurer and MongoDB replica-set

    Stack Overflow | 5 years ago | ltfishie
    org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [root-context.xml]; nested exception is java.lang.ArrayIndexOutOfBoundsException: 1
  6. 0

    REST webservices with apche camel and cxf : NullPointerException on startup

    Stack Overflow | 5 years ago | Sikorski
    org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from ServletContext resource [/WEB-INF/Beans.xml]; nested exception is java.lang.NullPointerException

  1. andyglick 20 times, last 3 months ago
  2. Bugger 1 times, last 8 months ago
27 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. org.springframework.beans.factory.BeanDefinitionStoreException

    parsing XML document from ServletContext resource [/WEB-INF/applicationContext.xml]; nested exception is : Could not open ServletContext resource [/WEB-INF/applicationContext.xml]

    at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions()
  2. Spring Beans
    AbstractBeanDefinitionReader.loadBeanDefinitions
    1. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:341)
    2. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
    3. org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
    4. org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
    5. org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
    5 frames
  3. Spring
    XmlWebApplicationContext.loadBeanDefinitions
    1. org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:124)
    2. org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:93)
    2 frames
  4. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)
    2. org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:467)
    3. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:397)
    3 frames
  5. Spring
    ContextLoaderListener.contextInitialized
    1. org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
    2. org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
    3. org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
    3 frames
  6. Glassfish Core
    Catalina.start
    1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764)
    2. org.apache.catalina.core.StandardContext.start(StandardContext.java:4216)
    3. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
    4. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
    5. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
    6. org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:926)
    7. org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889)
    8. org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
    9. org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
    10. org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
    11. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
    12. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
    13. org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
    14. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
    15. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
    16. org.apache.catalina.core.StandardService.start(StandardService.java:448)
    17. org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
    18. org.apache.catalina.startup.Catalina.start(Catalina.java:552)
    18 frames
  7. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    4. java.lang.reflect.Method.invoke(Unknown Source)
    4 frames
  8. Glassfish Core
    Bootstrap.main
    1. org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
    2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
    2 frames