Skip to main content

Error in Jsf project run

No replies
andree-tago
Offline
Joined: 2013-11-22
Points: 0

hello,

i have a jsf project when i run it i get the error message:

HTTP Status 404 - Not Found

--------------------------------------------------------------------------------

type Status report

messageNot Found

descriptionThe requested resource is not available.

--------------------------------------------------------------------------------

GlassFish Server Open Source Edition 4.0
-----------------------------------------------------------------------------------------------------------------------------

i use eclipse kepler + jsf2.0+glassfish4.0

the configuration file :

------------------ faces-config

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

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_0.xsd"
version="2.0">

-------------------------------web..xml-------------------------

<?xml version="1.0"?>
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-app_3_0.xsd">
Jsf_Ejb


Faces Servlet
javax.faces.webapp.FacesServlet
1


Faces Servlet
*.jsf


Faces Servlet
*.faces


Faces Servlet
/faces/*


Constraint1

NO-JSP-JSF-Page
/index.xhtml



AttachmentSize
file.png137.68 KB