• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

java.lang.RuntimeException: FacesContext not found

 
Ranch Hand
Posts: 137
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
reply
    Bookmark Topic Watch Topic
  • New Topic