java.io.FileNotFoundException: Could not open ServletContext resource [/WEB-INF/beans.xml]

geronimo-user | Forrest Xia | 5 years ago
  1. 0

    Re: Problem in creating Web Service in Eclipse using 2.1.8 Geronimo

    geronimo-user | 5 years ago | Forrest Xia
    java.io.FileNotFoundException: Could not open ServletContext resource [/WEB-INF/beans.xml]
  2. 0

    [IDP-722] Tomcat Cannot deploy an IDP where idp.home has a space in it - Shibboleth JIRA

    shibboleth.net | 1 year ago
    java.io.FileNotFoundException: Could not open ServletContext resource
  3. 0

    FileNotFoundException : Could not open ServletContext resource [/WEB-INF/spring/root-context.xml]

    Stack Overflow | 1 year ago | Nitin Kalra
    java.io.FileNotFoundException: Could not open ServletContext resource [/WEB-INF/spring/root-context.xml]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    cas-management 503

    GitHub | 8 months ago | chaegumi
    java.io.FileNotFoundException: ServletContext resource [/WEB-INF/s pring-configuration/] cannot be resolved to URL because it does not exist
  6. 0

    Setting StrutsSpringObjectFactory as my current ObjectFactory

    Stack Overflow | 4 years ago | rapt
    java.io.FileNotFoundException: Could not open ServletContext resource [/WEB-INF/classes/struts.xml]

  1. tzrlk 1 times, last 5 months ago
1 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/beans.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:282)
    2. org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204)
    3. org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
    3 frames
  6. Glassfish Core
    StandardContext.start
    1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4201)
    2. org.apache.catalina.core.StandardContext.start(StandardContext.java:4694)
    2 frames
  7. org.apache.geronimo
    GeronimoStandardContext.start
    1. org.apache.geronimo.tomcat.GeronimoStandardContext.access$201(GeronimoStandardContext.java:63)
    2. org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:398)
    3. org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:47)
    4. org.apache.geronimo.tomcat.GeronimoStandardContext.start(GeronimoStandardContext.java:251)
    4 frames
  8. Glassfish Core
    StandardHost.addChild
    1. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
    2. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
    3. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
    3 frames
  9. org.apache.geronimo
    TomcatWebAppContext.doStart
    1. org.apache.geronimo.tomcat.TomcatContainer.addContext(TomcatContainer.java:369)
    2. org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppContext.java:512)
    2 frames
  10. Geronimo :: Kernel
    SimpleConfigurationManager.startConfiguration
    1. org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:998)
    2. org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:268)
    3. org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
    4. org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:541)
    5. org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:111)
    6. org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:146)
    7. org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:120)
    8. org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:176)
    9. org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44)
    10. org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:254)
    11. org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:294)
    12. org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
    13. org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124)
    14. org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:555)
    15. org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
    16. org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:456)
    17. org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:493)
    18. org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:188)
    19. org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:563)
    20. org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:544)
    20 frames
  11. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:601)
    4 frames
  12. Geronimo :: Kernel
    KernelGBean.invoke
    1. org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
    2. org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
    3. org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:867)
    4. org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
    5. org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:342)
    5 frames
  13. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor155.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    3. java.lang.reflect.Method.invoke(Method.java:601)
    3 frames
  14. Geronimo :: Kernel
    BasicKernel.invoke
    1. org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
    2. org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
    3. org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:867)
    4. org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
    4 frames
  15. Geronimo :: System
    MBeanGBeanBridge.invoke
    1. org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:172)
    1 frame
  16. Java RT
    Thread.run
    1. com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
    2. com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:791)
    3. javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1447)
    4. javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:89)
    5. javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1292)
    6. java.security.AccessController.doPrivileged(Native Method)
    7. javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1387)
    8. javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:812)
    9. sun.reflect.GeneratedMethodAccessor135.invoke(Unknown Source)
    10. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    11. java.lang.reflect.Method.invoke(Method.java:601)
    12. sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
    13. sun.rmi.transport.Transport$1.run(Transport.java:177)
    14. sun.rmi.transport.Transport$1.run(Transport.java:174)
    15. java.security.AccessController.doPrivileged(Native Method)
    16. sun.rmi.transport.Transport.serviceCall(Transport.java:173)
    17. sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:553)
    18. sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:808)
    19. sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:667)
    20. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    21. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    22. java.lang.Thread.run(Thread.java:722)
    22 frames