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

Google Groups | kedar | 8 years ago
  1. 0

    trouble getting started with gwt-sl and gwt 1.6

    Google Groups | 8 years ago | kedar
    org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from ServletContext resource [/WEB- INF/applicationContext.xml]; nested exception is java.io.FileNotFoundException: Could not open ServletContext resource [/WEB-INF/applicationContext.xml]
  2. 0

    while running mvn jetty:run showing the following error

    Stack Overflow | 7 years ago | munna
    org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from ServletContext resource [/WEB-INF/xfire-servlet.xml]; nested exception is java.io.FileNotFoundException: Could not open ServletContext resource [/WEB-INF/xfire-servlet.xml]
  3. 0

    GitHub comment 50#172503335

    GitHub | 11 months ago | sachwu
    org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from ServletContext resource [/WEB-INF/applicationContext.xml]; nested exception is java.io.FileNotFoundException: Could not open ServletContext resource [/WEB-INF/applicationContext.xml]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JSF Spring MVC application cannot load Application context.xml

    Stack Overflow | 3 years ago | user1050619
    org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from ServletContext resource [/WEB-INF/applicationContext.xml]; nested exception is java.io.FileNotFoundException: Could not open ServletContext resource [/WEB-INF/applicationContext.xml]
  6. 0

    I have WEB-INF/applicationContext.xml but application cannot find it

    Stack Overflow | 5 years ago
    org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from ServletContext resource [/WEB-INF/applicationContext.xml]; nested exception is java.io.FileNotFoundException: Could not open ServletContext resource [/WEB-INF/applicationContext.xml]

  1. thiago.santos 1 times, last 7 months ago
  2. Kawada 8 times, last 8 months ago
10 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.io.FileNotFoundException

    Could not open ServletContext resource [/WEB-INF/applicationContext.xml]

    at org.springframework.web.context.support.ServletContextResource.getInputStream()
  2. Spring
    ServletContextResource.getInputStream
    1. org.springframework.web.context.support.ServletContextResource.getInputStream(ServletContextResource.java:118)
    1 frame
  3. Spring Beans
    AbstractBeanDefinitionReader.loadBeanDefinitions
    1. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)
    2. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:284)
    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
  4. Spring
    XmlWebApplicationContext.loadBeanDefinitions
    1. org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:125)
    2. org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:93)
    2 frames
  5. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:125)
    2. org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:418)
    3. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:348)
    3 frames
  6. Spring
    ContextLoaderListener.contextInitialized
    1. org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:254)
    2. org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:198)
    3. org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
    3 frames
  7. Jetty Server
    WebAppContext.doStart
    1. org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:543)
    2. org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
    3. org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220)
    4. org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:513)
    5. org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
    5 frames
  8. GWT dev
    JettyLauncher$WebAppContextWithReload.doStart
    1. com.google.gwt.dev.shell.jetty.JettyLauncher$WebAppContextWithReload.doStart(JettyLauncher.java:414)
    1 frame
  9. Jetty Util
    AbstractLifeCycle.start
    1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
    1 frame
  10. Jetty Server
    RequestLogHandler.doStart
    1. org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
    2. org.mortbay.jetty.handler.RequestLogHandler.doStart(RequestLogHandler.java:115)
    2 frames
  11. Jetty Util
    AbstractLifeCycle.start
    1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
    1 frame
  12. Jetty Server
    Server.doStart
    1. org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
    2. org.mortbay.jetty.Server.doStart(Server.java:222)
    2 frames
  13. Jetty Util
    AbstractLifeCycle.start
    1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
    1 frame
  14. GWT dev
    HostedMode.main
    1. com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java:478)
    2. com.google.gwt.dev.HostedMode.doStartUpServer(HostedMode.java:365)
    3. com.google.gwt.dev.HostedModeBase.startUp(HostedModeBase.java:590)
    4. com.google.gwt.dev.HostedModeBase.run(HostedModeBase.java:397)
    5. com.google.gwt.dev.HostedMode.main(HostedMode.java:232)
    5 frames