The file cannot be validated as theho st "struts.apache.org" is currently unreachable.
日志
IDE:Eclipse 3.5
解决步骤如下:
Window-->Preferences-->XML-->XML Catalog-->Add...
Location:
x:\struts-1.3.10-all\struts-1.3.10\src\core\src\main\resources\org\apache\struts\resources\struts-config_1_3.dtd
Key Type:
Public ID
Key:
-//Apache Software Foundation//DTD Struts Configuration 1.3//EN
~Specify alternative web address
http://struts.apache.org/dtds/struts-config_1_3.dtd
为了避免看不懂,特上图
精简
![The file cannot be validated as theho st struts.apache.org is currently unreachable. - Roy~Roy~ - 茶几与杯具](http://img693.ph.126.net/fqd8BdUlMnPP_6R8dmmuWQ==/1102818958753459534.jpg)
完整
![The file cannot be validated as theho st struts.apache.org is currently unreachable. - Roy~Roy~ - 茶几与杯具](http://img623.ph.126.net/a-66QdETnoo3KrvVPkk3KQ==/1937110789724123272.jpg)
解决步骤如下:
Window-->Preferences-->XML-->XML Catalog-->Add...
Location:
x:\struts-1.3.10-all\struts-1.3.10\src\core\src\main\resources\org\apache\struts\resources\struts-config_1_3.dtd
Key Type:
Public ID
Key:
-//Apache Software Foundation//DTD Struts Configuration 1.3//EN
~Specify alternative web address
http://struts.apache.org/dtds/struts-config_1_3.dtd
为了避免看不懂,特上图
精简
![The file cannot be validated as theho st struts.apache.org is currently unreachable. - Roy~Roy~ - 茶几与杯具](http://img693.ph.126.net/fqd8BdUlMnPP_6R8dmmuWQ==/1102818958753459534.jpg)
完整
![The file cannot be validated as theho st struts.apache.org is currently unreachable. - Roy~Roy~ - 茶几与杯具](http://img623.ph.126.net/a-66QdETnoo3KrvVPkk3KQ==/1937110789724123272.jpg)