websphere ibm-web-bnd.xml 是否有新的模式位置?

Is there a new schema location for websphere ibm-web-bnd.xml?

这曾经工作得很好:

<?xml version="1.0" encoding="UTF-8"?>
<web-bnd xmlns="http://websphere.ibm.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://websphere.ibm.com/xml/ns/javaee http://websphere.ibm.com/xml/ns/javaee/ibm-web-bnd_1_0.xsd" version="1.0">   
    <virtual-host name="default_host" />
</web-bnd>

并且在部署时它仍然如此,但 Eclipse 的验证器一直显示烦人 "errors" 因为 http://websphere.ibm.com/xml/ns/javaee 不再指向有效站点(重定向到某些搜索站点),当尝试下载时模式。

我知道我可能只需要关闭对这些文件的验证,但让我先尝试询问一下:

通过 Eclipse Marketplace 安装 WebSphere Developer Tools。它会将所需的架构添加到 Eclipse 中的 XML 目录。您可以通过 Preferences > XML > XML catalog 检查是否拥有它们。这些模式位于插件的其中一个 jar 中(确切的文件名可能因工具版本而异)

Location: schemas\ibm-web-bnd_1_0.xsd in jar file C:\eclipse\plugins\com.ibm.jee.was.descriptors.schemas_1.1.100.v20141119_2034.jar.

对于 Websphere 应用程序服务器:

您可以在此处找到所有架构...

WAS_INSTALL_ROOT/properties/schemas