【坑】struts文件异常Included file cannot be found

问题:eclipse

在使用多个struts文件包含到一个主配置文件中会出现异常,之前在myeclipse10.7 和myeclipse 8.5使用struts多文件引入都没有问题,但转到myeclipse2014就会出现问题spa

解决方法xml

1.命名规范,都是采用struts-xxx.xml文件,即以struts开头blog

2.file的路径不要以/开头,在其余版本是以/开头的ip

以下图:cli

在struts.xml文件中引入struts-user.xml文件myeclipse

相关文章
相关标签/搜索