标题:eclipse+tomcat+tomcat插件,web.xml出现问题
取消只看楼主
lgdcky
Rank: 2
等 级:论坛游民
威 望:5
帖 子:576
专家分:18
注 册:2006-8-5
结帖率:33.33%
 问题点数:0 回复次数:1 
eclipse+tomcat+tomcat插件,web.xml出现问题

我用的是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编辑过]

搜索更多相关主题的帖子: tomcat xml eclipse web 
2007-01-27 01:41
lgdcky
Rank: 2
等 级:论坛游民
威 望:5
帖 子:576
专家分:18
注 册:2006-8-5
得分:0 
没人知道怎么弄吗?

2007-01-27 11:34



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-118367-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.670347 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved