换了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..."
解决办法: 在myeclipse9.0, [MyEclipse]-[Files-Editors]-[XML]-[XML Catalog] 查找到 “-//Apache Software Foundation//DTD Struts Configuration 2.1//EN ” 和
“-//Apache Software Foundation//DTD Struts Configuration 2.1.7//EN ”
只需将struts.xml文件 “-//Apache Software Foundation//DTD Struts Configuration 2.0//EN ” 2.0修改为对应的 2.1或是2.1.7 ctrl+s即可