【发布时间】:2021-04-26 17:52:55
【问题描述】:
当我在 Eclipse Enterprise 版本中创建动态 Web 项目时尝试自动生成 web.xml 文件时,它会显示“语言服务器”类型的错误。它向web.xml 文件的这个元素指示错误:
<web-app
xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd"
version="4.0"
>
- “javaee_7.xsd”中有“1”错误。
- schema_reference.4: 无法读取架构文档 'platform:/plugin/org.eclipse.xsd/cache/www.w3.org/2001/xml.xsd',因为 1) 找不到该文档; 2) 文件不能 读; 3) 文档的根元素不是 xsd:schema。)。
【问题讨论】:
-
听起来完全就像eclipse.org/forums/index.php/t/1107700 中提到的内容,似乎没有报告给 LemMinX 项目。
-
是的,你是对的
-
那么我该如何继续我的网络项目呢?我是否使用另一个(旧)版本的 eclipse?
-
您应该在github.com/eclipse/lemminx/issues 将此问题报告为问题,然后看看他们怎么说。
-
这个问题应该用github.com/eclipse/wildwebdeveloper/pull/779 解决。请等待 Wild Web Developer 的新版本