SEVERE: 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.xml]; nested exception is java.io.FileNotFoundException: class path resource [applicationContext.xml] cannot be opened because it does not exist
错误详情:因为没有找到spring的配置文件 applicationContext.XML。
我已经在web.xml下进行了applicationContext.xml的配置 <param-value>classpath:applicationContext.xml</param-value>
解决方法:我尝试把applicationContext.xml 放在src目录下,发现此错误消失。