启动tomcat报的错
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下
[解决办法]