异常信息:
Exception sending context destroyed event to listener instance of class org.springframework.web.context.ContextLoaderListener java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
异常原因:
web.xml配置顺序问题
解决方法:
检查web.xml配置中的,contextConfigLocation等配置的先后位置