spring项目启动报错BeanFactory not initialized or already closed

【spring项目启动报错BeanFactory not initialized or already closed】世事洞明皆学问,人情练达即文章。这篇文章主要讲述spring项目启动报错BeanFactory not initialized or already closed相关的知识,希望能为你提供帮助。


解决方法:在web.xml中加入如下的就可以正常启动了

< context-param>
< param-name> contextConfigLocation< /param-name>
< param-value>
classpath*:/applicationContext.xml
< /param-value>
< /context-param>






    推荐阅读