Servlet Exception in Servlet.init() for servlet Faces
Rajat Bhatnagar
Greenhorn
Joined: Mar 11, 2008
Posts: 22
posted
0
I am trying to deploy my first JSF application in tomcat 5.5 . The directory structure is fine and so are the tag entries in faces-config.xml and web.xml.
But when i try to deploy it in Tomcat it throws an exception. I tried 3 alternatives as seen in forums but they don't work:
These Alternatives are
1. PLace jstl.jsr in lib folder of tomcat
2. add this entry to the web.xml of application <listener> <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class> </listener>
3. add this entry to the web.xml of application <listener> <listener-class>com.sun.faces.config.ConfigureListener</listener-class> </listener>
The StackTrace is
message
description The server encountered an internal error () that prevented it from fulfilling this request.
I am having the same problem, did you ever get this problem solved? Thanks, John
Bauke Scholtz
Ranch Hand
Joined: Oct 08, 2006
Posts: 2458
posted
0
Rather start your own topic instead of hijacking other's topic.
Paste the entire stacktrace in your new topic and show the minimal contents of the web.xml and faces-config.xml files which still reproduces this problem (maybe you should already have solved the problem while stripping out the web.xml and faces-config.xml from unnecessary stuff ;) ). Good luck.