加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

xml – 引用文件包含错误(jar:file:/…/plugins/org.jboss.too

发布时间:2020-12-16 07:42:37 所属栏目:百科 来源:网络整理
导读:我在 eclipse中的JSF项目中创建,并且文件faces-config.xml给出错误 Referenced file contains errors (jar:file:/D:/eclips/eclipse k/plugins/org.jboss.tools.jst.web_3.5.0.Final-v20130717-0309-B75.jar!/catalog/web-facesconfig_2_2.xsd). faces-confi
我在 eclipse中的JSF项目中创建,并且文件faces-config.xml给出错误
Referenced file contains errors (jar:file:/D:/eclips/eclipse k/plugins/org.jboss.tools.jst.web_3.5.0.Final-v20130717-0309-B75.jar!/catalog/web-facesconfig_2_2.xsd).

faces-config.xml中

<?xml version="1.0" encoding="UTF-8"?>
<faces-config
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-facesconfig_2_2.xsd"
version="2.2">

</faces-config>

当我删除以下行时,错误指示在faces-config.xml中消失

http://xmlns.jcp.org/xml/ns/javaee/web-facesconfig_2_2.xsd

更新我如何解决这个问题?

你指定了http://xmlns.jcp.org/xml/ns/javaee两次,所以删除一个.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读