Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.lang.RuntimeException: FacesContext not found

 
sonia pandit
Ranch Hand
Posts: 137
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a jsf application, that I deployed to Tomcat 6.0. I am using JSF 1.2, MyFaces 1.2, Trinidad 1.2.
I am getting this error when I point my browser to the webpage.

Any help is appreciated.

Thanks,

Sonia
 
anitha meena
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
am also newbie , but try to include this library jsf-facelets-1.1.14.jar (add it to lib folder of your web application) , i hope that it works for you
 
sonia pandit
Ranch Hand
Posts: 137
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Am not using facelets. Jsf and myfaces are already in the lib directory.

Thanks,

Sonia
 
anitha meena
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try to add jsf libraries as referenced libraries ( from build path) and as web app libraries ( in lib folder of the web application).............
 
sonia pandit
Ranch Hand
Posts: 137
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is fixed. Just for the benefit of other readers who might have the same problems;
I had to recreate another demo, add the proper libraries and remove libraries from the lib directory,
not it works like a charm. I kept the MyFaces libraries and removed jsf libraries.

Thanks,

Sonia
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic