« Return to Thread: Cannot find FacesContext
I'm trying to put together Core JavaServer Faces' login example from chapter 1, but I get an HTTP 500 error once I reach my index.jsp:
exception org.apache.jasper.JasperException: java.lang.RuntimeException: Cannot find FacesContext . . . root cause java.lang.RuntimeException: Cannot find FacesContext javax.faces.webapp.UIComponentClassicTagBase.getFacesContext(UIComponentClassicTagBase.java:1811) javax.faces.webapp.UIComponentClassicTagBase.setJspId(UIComponentClassicTagBase.java:1628) org.apache.jsp.index_jsp._jspx_meth_f_005fview_005f0(index_jsp.java:94)I have done the NetBeans tutorial on JSF and it works. Only, I'm trying to grow the concepts (nitty-gritty JSF) from Geary/Horstmann up to NetBeans. In NetBeans 6.1, lots of work is done behind the scenes, but if I grok something at the low level, I don't always know how to relate (or do) it at the Visual Web JSF level. I'm thinking once I've gone from the bottom up after having gone from the top down, some important notions might begin to click.
The login example at netbeans.org is for version 5.5 and much has changed since then (or so it appears to me) and that tutorial didn't get me very far.
I hope someone has a good suggestion.
Russ
-- ..\Wendy Wendy Bossons Senior User Interface Developer Harvard-MIT Data Center Office Phone: 617-384-5701 Email: wbossons <at> hmdc.harvard.edu
« Return to Thread: Cannot find FacesContext
| Free Forum Powered by Nabble | Forum Help |