`
抛出异常的爱
  • 浏览: 631091 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

Referenced file contains errors 错误解决方法

阅读更多
如果你用了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"> 

分享到:
评论
3 楼 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?
2 楼 ddbird 2007-02-28  
等于没说啊,我这知道是这里出了问题,出问题的原因是什么呢?地址不能访问么? 我在IE里面输入这个地址可以打开,重新validate还是出错啊。
1 楼 抛出异常的爱 2007-02-04  
由于海底光缆断了所以网址都不能用了。。。
而国内的镜像都是以大写JAVA开头的(猜的)

相关推荐

    dubbo.

    Dubbo 是一款高性能、轻量级的开源Java RPC框架,由阿里巴巴公司开发并维护,它主要解决了企业服务治理的问题,提供了服务注册、服务发现、负载均衡、调用链跟踪等核心功能。在分布式系统中,Dubbo扮演着关键角色,...

    dubbo找不到dubbo.xsd报错

    dubbo找不到dubbo.xsd报错, cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'dubbo:application'. ... 2) the document could not be read;...

    常规Java工具,算法,加密,数据库,面试题,源代码分析,解决方案

    Eclipse_Referenced_File_Contains_Errors Eclipse Xml编译错误引用的文件包含错误 - spring-beans-4.0.xsd 6年前 Git_语言_显示 修改GitHub上项目语言显示的问题 6年前 Gradle_依赖项_排除 Gradle 依赖排除 6年前 ...

    Note_scalad.tar.gz

    Eclipse_Referenced_File_Contains_Errors Git_Language_Show Gradle_Denpendencies_Exclude Gradle_Denpendency_Management Gradle_Gretty Gradle_Linux_Install Gradle_STS_Create Gradle_Test HashSet_VS_TreeSet...

    Chinese Entity Linking Comprehensive

    This file contains 2176 queries. Each query entry consists of the following fields: &lt;query id&gt; - A query ID formatted as the letters "EL_CLCMN_" (if a Chinese language query) or "EL_CLENG_" (if ...

    Senfore_DragDrop_v4.1

    run-time errors (e.g. "Error reading blahblahblah: Property does not exist.") if you attemt to run the demos without fixing this problem. Luckily it is very easy to make the forms work again; Just ...

    微软内部资料-SQL性能优化3

    The rsc_bin column of master..syslockinfo contains the resource block in hexadecimal format. For an example of how to decode value from this column using the information above, let us assume we have ...

    UPnP_Programming_Guide

    - **4.2.14** `UpnpVirtualDirCallbacks`: Contains pointers to file-related callback functions a device application can register to virtualize URLs. ##### 4.3 Initialization and Registration ...

    Vagaa哇嘎画时代--体验群体智慧的力量!

    2.7 Transmit or communicate any data that contains software viruses or any other computer code, files or programs designed to interrupt, destroy or limit the functionality of any computer software or...

    acpi控制笔记本风扇转速

    Moved all FADT-related functions to a new file, tbfadt.c. Eliminated the AcpiHwInitialize function - the FADT registers are now validated when the table is loaded. Added two new warnings during FADT ...

Global site tag (gtag.js) - Google Analytics