解决方法:
1、下载(保存)http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd 文件。
2、在eclipse中 Windows ==> Preferences ==> XML ==> XML Catalog,然后右边窗口点击 add 按钮,打开 Add XML Catalog Entry 窗口。URI选择框选择到 web-app_2.4.xsd 文件 ,确定后,Key Type 会自动选中 Namespace Name ,Key会自动填入: http://Java.sun.com/xml/ns/j2ee ,OK 确定即可。
1、下载(保存)http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd 文件。
2、在eclipse中 Windows ==> Preferences ==> XML ==> XML Catalog,然后右边窗口点击 add 按钮,打开 Add XML Catalog Entry 窗口。URI选择框选择到 web-app_2.4.xsd 文件 ,确定后,Key Type 会自动选中 Namespace Name ,Key会自动填入: http://Java.sun.com/xml/ns/j2ee ,OK 确定即可。