Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [applicationContext-action.xml]; nested exception is java.io.FileNotFoundException: class path resource [applicationContext-action.xml] cannot be opened because it does not exist
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:349)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions
请帮帮忙看看是什么错误!谢谢!
------解决方案--------------------
applicationContext-action.xml放错地方了吧,class path找不到。
------解决方案--------------------
java.io.FileNotFoundException: class path resource [applicationContext-action.xml] cannot be opened because it does not exist
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions
------解决方案--------------------
把spring的配置文件放到src下
------解决方案--------------------
------解决方案--------------------
applicationContext-action.xml 文件程序没有找到
------解决方案--------------------
application-action.xml 应该写的是tomcat下的路径 应该在classes包下把 你仔细找下