Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Referenced file contains errors (jar:file:/.../plugins/org.jboss.tools.jst.web_3.5.0.Final-v20130717-0309-B75.jar!/catalog/web-facesconfig_2_2.xsd)

I make in JSF Project in eclipse and The file faces-config.xml give an error

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>

when I remove the following line, error indication vanish in faces-config.xml

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

Update me how to resolve this issue ?

like image 446
Shahid Ghafoor Avatar asked Sep 17 '13 06:09

Shahid Ghafoor


1 Answers

You specified http://xmlns.jcp.org/xml/ns/javaee twice, so remove one.

like image 141
Shukti Avatar answered Oct 23 '22 07:10

Shukti