【Spring整合Struts2】Could not open ServletContext resource [/WEB-INF/application.xml]错误解决

来源:互联网 发布:js中settimeout 编辑:程序博客网 时间:2024/06/05 23:48

需要在web.xml下加上

  <context-param>
    <param-name>contextConfigLocation </param-name>
    <param-value>/WEB-INF/classes/context.xml </param-value>
</context-param>

其中,context.xml是对应的Spring配置文件。

阅读全文
0 0
原创粉丝点击