相关疑难解决方法(0)

这个web.xml错误是什么意思?

<?xml version="1.0" encoding="UTF-8"?>

<web-app 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">
Run Code Online (Sandbox Code Playgroud)

引用文件包含错误(http://java.sun.com/xml/ns/j2ee/web-app_2_5.xsd).有关更多信息,请右键单击"问题视图"中的消息,然后选择"显示详细信息..."

通过文件"web.xml"验证文件"web-app_2_5.xsd"时检测到以下错误.在大多数情况下,可以通过直接验证"web-app_2_5.xsd"来检测这些错误.但是,只有在web.xml的上下文中验证web-app_2_5.xsd时才会出现错误.

在细节上,我看到了一堆这些:

s4s-elt-character:除xs:appinfo和xs:documentation之外的架构元素中不允许使用非空白字符.看到'var _U ="undefined";'

schema web.xml

19
推荐指数
4
解决办法
4万
查看次数

标签 统计

schema ×1

web.xml ×1