| Author |
new to JSF- getting error
|
Vidu Greg
Greenhorn
Joined: Sep 05, 2005
Posts: 10
|
|
hi I am new to JSF. I am trying to learn it. I was trying the tutorials listed at Core Servlets site (http://www.coreservlets.com/JSF-Tutorial/#Section2).. I checked I have every required file in my web-inf/lib directory but still getting this error when I am trying to access http:\\localhost:8080\jsf-test HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Servlet.init() for servlet Faces Servlet threw exception org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118) org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) java.lang.Thread.run(Thread.java:534) root cause java.lang.NullPointerException javax.faces.webapp.FacesServlet.init(FacesServlet.java:144) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118) org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) java.lang.Thread.run(Thread.java:534) note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs. Some body help me pls. web page
|
 |
Kevin Galligan
Ranch Hand
Joined: Aug 10, 2005
Posts: 70
|
|
Without looking at the code... How is your faces servlet mapped in your web.xml file? *.jsf? You'll need to explicitly go to... http://localhost:8080/jsf-test/index.jsf (I'm assuming that 'index' is the default page. Also, forward slashes)
|
 |
 |
|
|
subject: new to JSF- getting error
|
|
|