• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Devaka Cooray
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Martijn Verburg
  • Frits Walraven
  • Himai Minh

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

 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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....
 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
So there I was, trapped in the jungle. And at the last minute, I was saved by this tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic