eclipse运行项目报错
BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
可能是web.xml文件,配置classpath路径不对
如果路径正确 tomcat启动前记得clean一下
<!-- 配置spring加载配置文件 -->
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>classpath:applicationContext.xml</param-value>
</context-param>