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 ?
You specified http://xmlns.jcp.org/xml/ns/javaee
twice, so remove one.