473,320 Members | 1,535 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

exception in tomcat

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
2 3299
r035198x
13,262 8TB
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
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

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

Similar topics

1
by: ptaz | last post by:
Hi I'm trying to run a web page but I get the following error. Ca anyone please tell me a solution to this. Thanks Ptaz HTTP Status 500 - type Exception report
5
by: Nick Flandry | last post by:
I'm running into an Invalid Cast Exception on an ASP.NET application that runs fine in my development environment (Win2K server running IIS 5) and a test environment (also Win2K server running IIS...
5
by: Lars-Erik Aabech | last post by:
Hi! Guess it's my day again.. Tried to deploy a test release of a new asp.net web today, and got a terrible error. The web is running swell on three development computers, but when it's copied...
7
by: Chuck Hartman | last post by:
I have a Windows service that requests web pages from a site using an HttpWebRequest object. When I try to request a page from an ASP.NET 2 site, I get a WebException with message "The remote...
9
by: MR | last post by:
I get the following Exception "The data at the root level is invalid. Line 1, position 642" whenever I try to deserialize an incoming SOAP message. The incoming message is formed well and its...
2
by: Tim Reynolds | last post by:
Team, When my web service throws an exception and I am debugging on my PC - I get the exception back in my browser fine. My web.config shows <customErrors mode="Off"/> and this is working well. ...
4
by: Sharon | last post by:
Hi, I'm using the remoting, and I have a remoting object that has a public event that other processes should register to it. But when the client process is registering to the remote event, it...
3
by: arasub | last post by:
ep 20, 2007 11:25:57 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found...
0
by: star111792 | last post by:
helo all i am working with JSP and EJBs. i have written a simple code for verifying username and password of user by using session beans. my problem is that i am getting the following exception: ...
1
by: viswanathtvs | last post by:
java.util.NoSuchElementException javax.faces.el.EvaluationException: java.util.NoSuchElementException at...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.