By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,782 Members | 1,154 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,782 IT Pros & Developers. It's quick & easy.

exception in tomcat

P: 58
Hi all,

i created on jsf,hibernate application and i deployed on Tomcat 5.0
while running a jsf page i got error as

HTTP Status 500 -

--------------------------------------------------------------------------------

type Exception report

message

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

exception

org.apache.jasper.JasperException: java.lang.UnsupportedClassVersionError: new/Network (Unsupported major.minor version 49.0)
org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:346)
org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet .java:810)
com.sun.faces.context.ExternalContextImpl.dispatch (ExternalContextImpl.java:326)
com.sun.faces.application.ViewHandlerImpl.renderVi ew(ViewHandlerImpl.java:132)
com.sun.faces.lifecycle.RenderResponsePhase.execut e(RenderResponsePhase.java:87)
com.sun.faces.lifecycle.LifecycleImpl.phase(Lifecy cleImpl.java:248)
com.sun.faces.lifecycle.LifecycleImpl.render(Lifec ycleImpl.java:117)
javax.faces.webapp.FacesServlet.service(FacesServl et.java:194)


root cause

javax.faces.el.EvaluationException: java.lang.UnsupportedClassVersionError: new/Network (Unsupported major.minor version 49.0)
com.sun.faces.el.ValueBindingImpl.getValue(ValueBi ndingImpl.java:170)
com.sun.faces.el.ValueBindingImpl.getValue(ValueBi ndingImpl.java:123)
com.sun.faces.application.ApplicationImpl.createCo mponent(ApplicationImpl.java:386)
javax.faces.webapp.UIComponentTag.createComponent( UIComponentTag.java:999)
javax.faces.webapp.UIComponentTag.createChild(UICo mponentTag.java:1026)
javax.faces.webapp.UIComponentTag.findComponent(UI ComponentTag.java:741)
javax.faces.webapp.UIComponentTag.doStartTag(UICom ponentTag.java:431)
org.apache.jsp.pages.NetView1_jsp._jspx_meth_jvtf_ networkView_0(NetView1_jsp.java:163)
org.apache.jsp.pages.NetView1_jsp._jspx_meth_h_for m_0(NetView1_jsp.java:139)
org.apache.jsp.pages.NetView1_jsp._jspx_meth_f_vie w_0(NetView1_jsp.java:106)
org.apache.jsp.pages.NetView1_jsp._jspService(NetV iew1_jsp.java:62)
org.apache.jasper.runtime.HttpJspBase.service(Http JspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet .java:810)
org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:298)
org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet .java:810)
com.sun.faces.context.ExternalContextImpl.dispatch (ExternalContextImpl.java:326)
com.sun.faces.application.ViewHandlerImpl.renderVi ew(ViewHandlerImpl.java:132)
com.sun.faces.lifecycle.RenderResponsePhase.execut e(RenderResponsePhase.java:87)
com.sun.faces.lifecycle.LifecycleImpl.phase(Lifecy cleImpl.java:248)
com.sun.faces.lifecycle.LifecycleImpl.render(Lifec ycleImpl.java:117)
javax.faces.webapp.FacesServlet.service(FacesServl et.java:194)


note The full stack trace of the root cause is available in the Apache Tomcat/5.0.25 logs.


--------------------------------------------------------------------------------

Apache Tomcat/5.0.25


can anybody solve it
Jan 19 '07 #1
Share this Question
Share on Google+
2 Replies


10K+
P: 13,264
Hi all,

i created on jsf,hibernate application and i deployed on Tomcat 5.0
while running a jsf page i got error as

HTTP Status 500 -

--------------------------------------------------------------------------------

type Exception report

message

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

exception

org.apache.jasper.JasperException: java.lang.UnsupportedClassVersionError: new/Network (Unsupported major.minor version 49.0)
org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:346)
org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet .java:810)
com.sun.faces.context.ExternalContextImpl.dispatch (ExternalContextImpl.java:326)
com.sun.faces.application.ViewHandlerImpl.renderVi ew(ViewHandlerImpl.java:132)
com.sun.faces.lifecycle.RenderResponsePhase.execut e(RenderResponsePhase.java:87)
com.sun.faces.lifecycle.LifecycleImpl.phase(Lifecy cleImpl.java:248)
com.sun.faces.lifecycle.LifecycleImpl.render(Lifec ycleImpl.java:117)
javax.faces.webapp.FacesServlet.service(FacesServl et.java:194)


root cause

javax.faces.el.EvaluationException: java.lang.UnsupportedClassVersionError: new/Network (Unsupported major.minor version 49.0)
com.sun.faces.el.ValueBindingImpl.getValue(ValueBi ndingImpl.java:170)
com.sun.faces.el.ValueBindingImpl.getValue(ValueBi ndingImpl.java:123)
com.sun.faces.application.ApplicationImpl.createCo mponent(ApplicationImpl.java:386)
javax.faces.webapp.UIComponentTag.createComponent( UIComponentTag.java:999)
javax.faces.webapp.UIComponentTag.createChild(UICo mponentTag.java:1026)
javax.faces.webapp.UIComponentTag.findComponent(UI ComponentTag.java:741)
javax.faces.webapp.UIComponentTag.doStartTag(UICom ponentTag.java:431)
org.apache.jsp.pages.NetView1_jsp._jspx_meth_jvtf_ networkView_0(NetView1_jsp.java:163)
org.apache.jsp.pages.NetView1_jsp._jspx_meth_h_for m_0(NetView1_jsp.java:139)
org.apache.jsp.pages.NetView1_jsp._jspx_meth_f_vie w_0(NetView1_jsp.java:106)
org.apache.jsp.pages.NetView1_jsp._jspService(NetV iew1_jsp.java:62)
org.apache.jasper.runtime.HttpJspBase.service(Http JspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet .java:810)
org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:298)
org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet .java:810)
com.sun.faces.context.ExternalContextImpl.dispatch (ExternalContextImpl.java:326)
com.sun.faces.application.ViewHandlerImpl.renderVi ew(ViewHandlerImpl.java:132)
com.sun.faces.lifecycle.RenderResponsePhase.execut e(RenderResponsePhase.java:87)
com.sun.faces.lifecycle.LifecycleImpl.phase(Lifecy cleImpl.java:248)
com.sun.faces.lifecycle.LifecycleImpl.render(Lifec ycleImpl.java:117)
javax.faces.webapp.FacesServlet.service(FacesServl et.java:194)


note The full stack trace of the root cause is available in the Apache Tomcat/5.0.25 logs.


--------------------------------------------------------------------------------

Apache Tomcat/5.0.25


can anybody solve it
That's a version conflict. The JDK version that is compiling the java files is newer than the JVM version that is trying to run the class files. Either use the same version or get tomcat help on how to specify to the compiler which version to use when compiling.
Jan 19 '07 #2

P: 58
That's a version conflict. The JDK version that is compiling the java files is newer than the JVM version that is trying to run the class files. Either use the same version or get tomcat help on how to specify to the compiler which version to use when compiling.
yes you are absolutely right...

then how can i solve it...at least iam not able to run simple java program in myeclipse......

i am getting the following error while running java program..


java.lang.UnsupportedClassVersionError: one (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java :539)
at java.security.SecureClassLoader.defineClass(Secure ClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader .java:251)
at java.net.URLClassLoader.access$100(URLClassLoader. java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java: 194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 89)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 35)
at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:302)
Exception in thread "main"

can you please tell me how can i solve it........
java class path settings in my PC is ok.......im able to run a java program from
command prompt.........but not in myeclipse..
please help me
Jan 19 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.