Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSF Error

 
Shahir Deo
Ranch Hand
Posts: 80
Hibernate Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys.
while running a JSF Application i came across a error:

java.lang.RuntimeException: FacesContext not found

How can i solve this?
 
Tim Holloway
Saloon Keeper
Posts: 18304
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The FacesContext does not exist as an independent object. You can only reference it in code that is directly called by the FacesServlet. Independent servlets and JSPs will fail, as will many of the non-J2EE infrastructure listeners.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic