faces-config.xml xsd版本为2.1的错误 [英] faces-config.xml xsd error for version 2.1

查看:129
本文介绍了faces-config.xml xsd版本为2.1的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Eclipse中不断告诉我有一个与 http://java.sun.com/xml/ns/javaee/web-facesconfig_2_1.xsd 问题上我faces- config.xml,其他任何人都有问题吗?

Eclipse keeps telling me there is a problem with http://java.sun.com/xml/ns/javaee/web-facesconfig_2_1.xsd on my faces-config.xml, is anyone else having an issue with it?

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

 <faces-config 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-facesconfig_2_1.xsd"
          version="2.1">

 </faces-config>

错误是:

  Referenced file contains errors (http://java.sun.com/xml/ns/javaee/web-facesconfig_2_1.xsd).  

如果我查看详细信息,则会出现大量错误,以 s4s-elt-character:.....

If I look at the details there are a ton of errors that start with s4s-elt-character:.....

我使用的是mojarra 2.1.13。

I am using mojarra 2.1.13.

谢谢。

编辑:显然Oracle更改了它,这修复了:

Apparently Oracle changed it and this fixes it:

a href =http://www.oracle.com/webfolder/technetwork/jsc/xml/ns/javaee/web-facesconfig_2_1.xsd> http://www.oracle.com/webfolder/technetwork/jsc/xml /ns/javaee/web-facesconfig_2_1.xsd

http://www.oracle.com/webfolder/technetwork/jsc/xml/ns/javaee/web-facesconfig_2_1.xsd

推荐答案

现在我们正在对这一权利。找出问题,努力解决。请跟踪此JIRA问题: http://java.net/jira/browse/GLASSFISH-19115

We are working on this right now. Identified the issue, working to resolve. Please track this JIRA issue: http://java.net/jira/browse/GLASSFISH-19115

希望对错误有帮助和抱歉。

Hope this helps and sorry for the 'bug'.

更新: strong>此问题已解决。

Update: This issue has been resolved.

这篇关于faces-config.xml xsd版本为2.1的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆