Referenced File contains errors (http://struts.apache.org/dtds/struts-2.0. DTD ).
Solution ):
1.This may be because your DTD file cannot be found or the parsing is wrong. you can enter the http://struts.apache.org/dtds/struts-2.0 in the address bar. DTD can view this can not, if not, it should be a network problem or XML parsing problem, the solution is that you copy the DTD file to your classpath directory, the http://struts.apache.org/dtds/struts-2.0. DTD this path to "/WEB-INF/classes/Struts-2.0. DTD ". Try again.
2.Remove the struts2-core-2.x.x.jar from the struts-2.0.dtd, open [Window]-[properties], and open the dialog box. select [myeclipse]-[files-editors]-[XML]-[XML catalog] In the tree list on the left. The corresponding content is displayed on the right. click the [add] button under [XML catalog entries] on the right. In the displayed dialog box, enter:
Location: usestruts2/src/struts 2.0.dtd (select the struts-2.0.dtd file you just pulled out)
Key type: public ID
Key:-// Apache Software Foundation // DTD struts configuration 2.0 // en
Select [OK] to add.