Window->Preferences->XML Catalog
点击Add
本地dtd约束文件可以在Struts2-core-2.3.2.jar包中找到,将它复制出来到任意目录即可,最终在Location出链接到该路径即可