解决Referenced file contains errors(struts-2.0.dtd)

来源:互联网 发布:点点客人人店登陆端口 编辑:程序博客网 时间:2024/05/18 00:14

myeclipse出现这样错误:Referenced file contains errors
(http://struts.apache.org/dtds/struts-2.0.dtd). For more information,
right click on the
 message in the Problems View and select "Show Details..."

解决方法:
只需将struts.xml文件  “-//Apache Software Foundation//DTD Struts
Configuration 2.0//EN ”   2.0修改为对应的 2.1或是2.1.7 保存即可

原创粉丝点击