我用的是org.objectweb.lomboz-all-in-one-R-3.2-200610201336-win32版的eclipse+tomcat5.5.17+tomcatPluginV31插件在配好tomcat后,建了一个Dynamic Web Project工程后,程序提示Web.xml出错!
程序自动生成的Web.xml代码如下:
<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<display-name>
text</display-name>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>default.html</welcome-file>
<welcome-file>default.htm</welcome-file>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>
</web-app>
错误在红字处!
提示是Refernce file contain error!
错误提示:
The errors below were detected when validating the file "j2ee_web_services_client_1_1.xsd" via the file "web.xml". In most cases these errors can be detected by validating "j2ee_web_services_client_1_1.xsd" directly. However it is possible that errors will only occur when j2ee_web_services_client_1_1.xsd is validated in the context of web.xml.
这是怎么回事啊??程序自己生成的WEB还有错误!这个该怎么办啊??
[此贴子已经被作者于2007-1-27 11:33:30编辑过]