新生成web.xml报错
问题:
myeclipse项目下的web.xml文件 一个大红错误,虽然不影响整个项目运行,但鼠标放上去提示:
Referenced file contains errors (http://www.ibm.com/webservices/xsd/j2ee_web_services_client_1_1.xsd). For more information, right click on the message and select "Show Details..."
解决方法:
把web.xml下的
xsi:schemaLocation= "http://java.sun.com/xml/ns/j2ee 改为:xsi:schemaLocation= "http://JAVA.sun.com/xml/ns/j2ee
即把其中的 java 改为大写的 JAVA 就可以了。