`

Referenced file contains errors (http://JAVA.sun.com/xml/ns/j2ee/web-app_2_5.xsd

阅读更多
Referenced file contains errors (http://JAVA.sun.com/xml/ns/j2ee/web-app_2_5.xsd). For more information, right click on the message in the Problems View and select "Show Details..."


<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="2.5"
	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_5.xsd" metadata-complete="true">
</web-app>


jdk从1.5换到1.6就出现了
将url中的j2ee换成javaee就OK了,或者从别的正常的web.xml拷贝一分头过来
j2ee=>javaee
<web-app version="2.5" 
    xmlns="http://java.sun.com/xml/ns/javaee" 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" metadata-complete="true">	
	
分享到:
评论

相关推荐

    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'. - schema_reference.4: Failed to read schema document...

    dubbo.

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

    plat-sw-3.0.0.1.zip

    bazel_root/540135163923dd7d5820f3ee4b306b32/external/adv_plat/plat-sw-3.0.0.1.zip: Connection reset and referenced by '//modules/drivers/camera:camera'. ERROR: (12-26 08:52:07.359) Analysis of target ...

    开源项目RoundedImageView

    开源项目的地址:https://github.com/vinc3m1/RoundedImageView 实现圆形/圆角/椭圆的iamgeView。相关博文:http://www.cnblogs.com/tianzhijiexian/p/3856391.html

    main函数关联的crt目标文件

    /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.7/crtbegin.o /tmp/ccNY9dhT.o /usr/...

    org.eclipse.paho.mqttv5.client-1.2.5.jar解决SSL认证连接SNIHostName类不存在的问题

    MQTTv5版的客户端库,原地址:https://github.com/eclipse/paho.mqtt.java。 本资源合入了解决低于android7.0报错Caused by: java.lang.ClassNotFoundException: Didn't find class "javax.net.ssl.SNIHostName"的...

    使用Hibernate3.6在console下连接Mysql5进行CRUD操作

    5. 把lib下的库加到 referenced libraries中,以方便运行。 然后你会看到结果如下。 我参考的是这一篇:http://tech.ccidnet.com/art/2585/20050621/271615_1.html 我的网站是: http://www.wudimei.com ,上面有...

    struts.xml的错误解决办法

    Struts2是一个流行的Java web应用程序框架,用于构建和管理MVC(模型-视图-控制器)架构的应用。在开发过程中,我们经常会遇到与`struts.xml`配置文件相关的错误,这是由于XML解析问题或者DTD(文档类型定义)引用的...

    jQwidgets 3.6.0

    styles/images: contains images referenced in the stylesheet files Files for individual widgets. Include depending on project needs: jqx-all.js: All plug-ins and widgets jqxdata.js: Data Source plug-...

    ios开发之项目废弃图片资源清理工具

    A Mac App to find unused images and resources in an XCode project. It is heavily influenced by jeffhodnett‘s [Unused](http://jeffhodnett.github.io/Unused/), but Unused is very slow, and the results ...

    Windows7下TA-Lib包的安装

    common.obj : error LNK2019: unresolved external symbol TA_Initialize referenced in function __pyx_pf_5talib_6common_2_ta_initialize 这个问题有点高级,看起来说是链接错误,很多人到这就不知道怎么办了,...

    STC-MCU-SPI演示

    /* If you want to use the program or the program referenced in the */ /* article, please specify in which data and procedures from STC */ /*------------------------------------------------------------...

    Python安装包version 3.1.5

    ./configure make make test sudo make install This will install Python as python3. You can pass many options to the configure script; run "./configure --help" to find out more. On OSX and Cygwin,...

    Tsapi.zip_The Hidden_tsapi_tsapi sample

    This file handles the hidden TSAPI window // First, there are the CTsapiDevice methods. // // This class is referenced by the TSAPI window class (CTsapiWnd). // It handles: // 1. tracking of the ...

    Chinese Entity Linking Comprehensive

    ./data/2011/eval/tac_kbp_2011_chinese_entity_linking_evaluation_queries.xml This file contains 2176 queries. Each query entry consists of the following fields: &lt;query id&gt; - A query ID formatted ...

    关于struts实验时的临时总结

    file:/E:/parWorkSpaces/.metadata/.me_tcat/webapps/studentSystem/WEB-INF/classes/struts_five.xml:18:47 ``` 4. **错误栈跟踪**: ```none at ...

    SymbolTypeViewer_1_0_0_6

    translate the structures for the C Language (.h) and for IDA script (.idc) of DataRescue (http://www.datarescue.com/idabase/) personalize the formatting: addition of suffix in the names of types, ...

    jaxb-impl.jar包

    `jaxb-impl.jar`是Java Architecture for XML Binding (JAXB)的一个实现包,它是Java平台标准版(Java SE)和企业版(Java EE)的一部分,主要用于XML到Java对象的绑定以及反之,使得开发者能够方便地在Java程序中...

    UPnP_Programming_Guide

    - **4.1.32** `UPNP_E_EXT_NOT_XML [-504]`: Occurs when a file extension is not XML. - **4.1.33** `UPNP_E_NOT_FOUND [-507]`: Signals that something could not be found. - **4.1.34** `UPNP_E_INTERNAL_...

    sqlite3:not found 解决方法

    2. **使用辅助工具**:除了命令行工具,还可以利用图形化的SQLite管理工具(如SQLiteStudio、DB Browser for SQLite等)进行数据操作和调试,这些工具可能更直观且易于使用。 至于压缩包中的“sqlite3”文件,可能...

Global site tag (gtag.js) - Google Analytics