Welcome Page Gives Error "javax.servlet.jsp.JspException: Cannot find FacesContext"

(Doc ID 555961.1)

Last updated on AUGUST 04, 2016

Applies to:

Oracle JDeveloper - Version: and later   [Release: and later ]
Information in this document applies to any platform.


In the "Oracle JDeveloper 10g for Forms & PL/SQL Developers", page 473, topic "Set Up the
Application Entry Page
", you are requested to set up a Welcome Page for the Tuhra application.
If you follow all the steps exactly and access the application from the URL
http://<host:port>/tuhra (step 6), then the browser displays the following error:

500 Internal Server Error

javax.servlet.jsp.JspException: Cannot find FacesContext
at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:427)
at com.sun.faces.taglib.jsf_core.ViewTag.doStartTag(ViewTag.java:125)
at _home._jspService(_home.java:52)
at com.orionserver[Oracle Containers for J2EE 10g (
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind[Oracle Containers for J2EE 10g (
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)

It works fine if you access the page with its full URL:


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms