如果你用了jdk5了之后发现
半个小时也建不好一个web 应用
或是eclipse中的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-app 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">

</web-app>
出了问题
<!DOCTYPE web-app PUBLIC '-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN' 'http://JAVA.sun.com/dtd/web-app_2_3.dtd'>
<web-app></web-app>


<web-app 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"> 
评论
ddbird 2007-02-28   回复
 xsi:schemaLocation="http://JAVA.sun.com/xml/ns/j2ee http://JAVA.sun.com/xml/ns/j2ee/web-app_2_4.xsd">   

里面我把阡陌一个http去掉就好了,这算什么问题, eclipse的bug?
ddbird 2007-02-28   回复
等于没说啊,我这知道是这里出了问题,出问题的原因是什么呢?地址不能访问么? 我在IE里面输入这个地址可以打开,重新validate还是出错啊。
抛出异常的爱 2007-02-04   回复
由于海底光缆断了所以网址都不能用了。。。
而国内的镜像都是以大写JAVA开头的(猜的)
发表评论

该博客是同时发布到论坛的,无法评论在论坛已被锁定的帖子

抛出异常的爱
搜索本博客
我的相册
2f25eaa4-47a6-3b59-a823-b1a98c3d1df3-thumb
testpeople
共 41 张
存档
最新评论