• Post Reply Bookmark Topic Watch Topic
  • New Topic

JSF Error  RSS feed

 
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
Bartender
Posts: 18715
71
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
Boost this thread!