Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JavaServer Faces » WTP JSF now with Sun RI
WTP JSF now with Sun RI [message #589354] Thu, 09 February 2006 15:42
Chris Gage is currently offline Chris GageFriend
Messages: 27
Registered: July 2009
Junior Member
So I created a new workspace from scratch, and included the Sun RI JSF
implementation instead of Myfaces. I copied over the two JSPs, the bean and
the faces-config.xml, everything else is recreated. In preferences for Java
Runtimes I added a definition for SDK 1.4.2.10 and removed the reference to
JRE 1.4.2.10. Now I am getting a different problem when I run the InputName
jsp. It clearly has compiled the JSP and is running it, but then it finds
some kind of incompatibility. I looked this up. As far as I can tell I
definitely only have one Java installation oin this machine : SDK 1.4.2.10
downloaded from Sun a few days ago.

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: javax.servlet.jsp.JspException:
java.lang.UnsupportedClassVersionError: first/PersonBean (Unsupported
major.minor version 49.0)
org.apache.jasper.runtime.PageContextImpl.doHandlePageExcept ion(PageContextImpl.java:842) org.apache.jasper.runtime.PageContextImpl.handlePageExceptio n(PageContextImpl.java:779) org.apache.jsp.InputName_jsp._jspService(InputName_jsp.java: 103) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.ja va:94) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.apache.jasper.servlet.JspServletWrapper.service(JspServl etWrapper.java:324) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServl et.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java :236) 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:130) 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 causejavax.faces.el.EvaluationException: java.lang.UnsupportedClassVersionError:first/PersonBean (Unsupported major.minor version 49.0) com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl. java:206) com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl. java:154) javax.faces.component.UIOutput.getValue(UIOutput.java:147) com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.ge tValue(HtmlBasicInputRenderer.java:82) com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getCurr entValue(HtmlBasicRenderer.java:191) com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeE nd(HtmlBasicRenderer.java:169) javax.faces.component.UIComponentBase.encodeEnd(UIComponentB ase.java:720) javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.j ava:623) javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.ja va:546) com.sun.faces.taglib.html_basic.InputTextTag.doEndTag(InputT extTag.java:524) org.apache.jsp.InputName_jsp._jspx_meth_h_inputText_0(InputN ame_jsp.java:273) org.apache.jsp.InputName_jsp._jspx_meth_h_form_0(InputName_j sp.java:221) org.apache.jsp.InputName_jsp._jspx_meth_f_view_0(InputName_j sp.java:155) org.apache.jsp.InputName_jsp._jspService(InputName_jsp.java: 92) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.ja va:94) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.apache.jasper.servlet.JspServletWrapper.service(JspServl etWrapper.java:324) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServl et.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java :236) 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:130) 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)note The full stack trace of the root cause is available in the ApacheTomcat/5.0.30 logs.Apache Tomcat/5.0.30
Previous Topic:WTP JSF with MyFaces
Next Topic:JSF documentation
Goto Forum:
  


Current Time: Thu Apr 25 02:18:21 GMT 2024

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

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

Back to the top