Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JavaServer Faces » tutorial problem - Exception
tutorial problem - Exception [message #606080] Wed, 23 August 2006 15:22
Eclipse User
Originally posted by: applicom-dr.winter.t-online.de

Hello,
when trying to run the tutorial i get the following Exception:

description The server encountered an internal error () that prevented it
from fulfilling this request.

exception

org.apache.jasper.JasperException: javax.servlet.jsp.JspException:
com.tutorial.validatePassword

org.apache.jasper.servlet.JspServletWrapper.handleJspExcepti on(JspServletWra
pper.java:510)

org.apache.jasper.servlet.JspServletWrapper.service(JspServl etWrapper.java:3
75)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServl et.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java :264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

com.sun.faces.context.ExternalContextImpl.dispatch(ExternalC ontextImpl.java:
322)

com.sun.faces.application.ViewHandlerImpl.renderView(ViewHan dlerImpl.java:13
0)

com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderRe sponsePhase.java
:87)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.ja va:200)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.j ava:117)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:19 8)

root cause

javax.servlet.ServletException: javax.servlet.jsp.JspException:
com.tutorial.validatePassword

org.apache.jasper.runtime.PageContextImpl.doHandlePageExcept ion(PageContextI
mpl.java:854)

org.apache.jasper.runtime.PageContextImpl.handlePageExceptio n(PageContextImp
l.java:791)
org.apache.jsp.login_jsp._jspService(login_jsp.java:101)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.ja va:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

org.apache.jasper.servlet.JspServletWrapper.service(JspServl etWrapper.java:3
32)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServl et.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java :264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

com.sun.faces.context.ExternalContextImpl.dispatch(ExternalC ontextImpl.java:
322)

com.sun.faces.application.ViewHandlerImpl.renderView(ViewHan dlerImpl.java:13
0)

com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderRe sponsePhase.java
:87)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.ja va:200)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.j ava:117)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:19 8)

root cause

java.lang.ClassCastException: com.tutorial.validatePassword

com.sun.faces.application.ApplicationImpl.createValidator(Ap plicationImpl.ja
va:635)
javax.faces.webapp.ValidatorTag.createValidator(ValidatorTag .java:146)
javax.faces.webapp.ValidatorTag.doStartTag(ValidatorTag.java :109)
org.apache.jsp.login_jsp._jspx_meth_f_validator_0(login_jsp. java:354)
org.apache.jsp.login_jsp._jspx_meth_h_inputSecret_0(login_js p.java:314)
org.apache.jsp.login_jsp._jspx_meth_h_panelGrid_0(login_jsp. java:226)
org.apache.jsp.login_jsp._jspx_meth_h_form_0(login_jsp.java: 165)
org.apache.jsp.login_jsp._jspx_meth_f_view_0(login_jsp.java: 127)
org.apache.jsp.login_jsp._jspService(login_jsp.java:91)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.ja va:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

org.apache.jasper.servlet.JspServletWrapper.service(JspServl etWrapper.java:3
32)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServl et.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java :264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

com.sun.faces.context.ExternalContextImpl.dispatch(ExternalC ontextImpl.java:
322)

com.sun.faces.application.ViewHandlerImpl.renderView(ViewHan dlerImpl.java:13
0)

com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderRe sponsePhase.java
:87)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.ja va:200)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.j ava:117)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:19 8)
Can you help me?
Previous Topic:sybase contribution
Next Topic:tutorial problem - Exception
Goto Forum:
  


Current Time: Sat Oct 25 12:07:50 GMT 2014

Powered by FUDForum. Page generated in 0.02262 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software