• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Getting this error while invoking my jsf page-Found no URL patterns mapping to FacesS

 
indra sen
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
DEBUG ! execute(com.sun.faces.context.FacesContextImpl@c535fc)
DEBUG ! phase(RESTORE_VIEW 1,com.sun.faces.context.FacesContextImpl@c535fc)
DEBUG ! Entering RestoreViewPhase
DEBUG ! servletPath /faces
DEBUG ! pathInfo /applications/MyJSF.jsp
DEBUG ! URL pattern of the FacesServlet executing the current request /faces
DEBUG ! Begin restoring view from response /applications/MyJSF.jsp
DEBUG ! Possibly a new request. Tree structure could not be restored for /applications/Claims.jsp
DEBUG ! End restoring view from response /applications/MyJSF.jsp
DEBUG ! New request: creating a view for /applications/MyJSF.jsp
DEBUG ! Created new view for /applications/MyJSF.jsp
DEBUG ! get defaultLocale en_US
DEBUG ! Locale for this view as determined by calculateLocale en_US
DEBUG ! RenderKitId for this view as determined by calculateRenderKitId HTML_BASIC
DEBUG ! Exiting RestoreViewPhase
DEBUG ! Skipping rest of execute() because of a reload
DEBUG ! render(com.sun.faces.context.FacesContextImpl@c535fc)
DEBUG ! phase(RENDER_RESPONSE 6,com.sun.faces.context.FacesContextImpl@c535fc)
DEBUG ! Entering RenderResponsePhase
DEBUG ! About to render view /applications/MyJSF.jsp
DEBUG ! About to render view /applications/MyJSF.jsp
DEBUG ! URL pattern of the FacesServlet executing the current request /faces
DEBUG ! Found no URL patterns mapping to FacesServlet


I am getting this error
Found no URL patterns mapping to FacesServlet
Can any body help me ,
Thanks in advance....
 
Denise Smith
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does your web.xml file have a url mapping for the faces servlet?

Sample:

<servlet id="Servlet_100">
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>-1</load-on-startup>
</servlet>

<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
[ December 12, 2007: Message edited by: Denise Smith ]
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic