我是用myEclipse自动加载的struts1和Hibernate,spring是手动配置的,报以下错误,奇怪的是,明明之前配好的项目,现在启动是也会报这个错//报错提示
org.springframework.beans.factory.BeanInitializationException: Could not load properties; nested exception is java.io.FileNotFoundException: Could not open ServletContext resource [/WEB-INF/mail.properties]
at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:78)
......
011-3-12 13:00:04 org.apache.catalina.core.StandardContext listenerStart
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanInitializationException: Could not load properties; nested exception is java.io.FileNotFoundException: Could not open ServletContext resource [/WEB-INF/mail.properties]
........
13:00:13,343 ERROR ContextLoader:206 - Context initialization failed
org.springframework.beans.factory.BeanInitializationException: Could not load properties; nested exception is java.io.FileNotFoundException: Could not open ServletContext resource [/WEB-INF/mail.properties]mail.properties这是个什么文件?起什么作用的呀?急!!!