本文主要是介绍配置Struts2 xml Referenced file contains errors (http://struts.apache.org/dtds/struts-2.0.dtd). For m,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
换了myeclipse版本出现这样错误:Referenced file contains errors (http://struts.apache.org/dtds/struts-2.0.dtd). For more information, right click on themessage 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即可
这篇关于配置Struts2 xml Referenced file contains errors (http://struts.apache.org/dtds/struts-2.0.dtd). For m的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!