File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSF Error

 
Shahir Deo
Ranch Hand
Posts: 80
Hibernate Java Oracle
  • 0
  • 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
Pie
Posts: 17616
39
Android Eclipse IDE Linux
  • 0
  • 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