java.lang.RuntimeException: FacesContext not found
sonia pandit
Ranch Hand
Joined: Apr 19, 2008
Posts: 137
posted
0
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
Joined: Oct 22, 2007
Posts: 40
posted
0
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
Joined: Apr 19, 2008
Posts: 137
posted
0
Am not using facelets. Jsf and myfaces are already in the lib directory.
Thanks,
Sonia
anitha meena
Ranch Hand
Joined: Oct 22, 2007
Posts: 40
posted
0
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
Joined: Apr 19, 2008
Posts: 137
posted
0
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
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.
subject: java.lang.RuntimeException: FacesContext not found