| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 1258 人关注过本帖
标题:eclipse+tomcat+tomcat插件,web.xml出现问题
只看楼主 加入收藏
lgdcky
Rank: 2
等 级:论坛游民
威 望:5
帖 子:576
专家分:18
注 册:2006-8-5
结帖率:33.33%
收藏
 问题点数:0 回复次数:2 
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
无理取闹
Rank: 9Rank: 9Rank: 9
等 级:贵宾
威 望:53
帖 子:4264
专家分:0
注 册:2006-7-26
收藏
得分:0 

没用过 没法说
向你推荐myeclipse很实用的插件 有了它就不需要别的了


win32汇编
病毒 加密
目前兴趣所在
2007-01-27 12:33
快速回复:eclipse+tomcat+tomcat插件,web.xml出现问题
数据加载中...
 
   



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

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