Topic: 希望大家帮帮我,先谢过了!(UnsupportedClassVersionError) |
Print this page |
1.希望大家帮帮我,先谢过了!(UnsupportedClassVersionError) | Copy to clipboard |
Posted by: Bluebluesea Posted on: 2007-03-28 21:42 我在用tomcat运行servlet时提示出现一下错误: 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: Error allocating a servlet instance org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:793) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:702) org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:644) java.lang.Thread.run(Thread.java:534) root cause java.lang.UnsupportedClassVersionError: test (Unsupported major.minor version 49.0) java.lang.ClassLoader.defineClass0(Native Method) java.lang.ClassLoader.defineClass(ClassLoader.java:539) java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1634) org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:860) org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1307) org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1189) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:793) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:702) org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:571) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:644) java.lang.Thread.run(Thread.java:534) note The full stack trace of the root cause is available in the Apache Tomcat/5.0.25 logs. 烦请各位帮忙看一下到底是什么原因,我servlet放的位置也是对的,web.xml也配置了,环境变量也设置了,不知道为什么还是会出现这样的问题.希望各位指点一下,再次感谢您看我的帖子,更感谢您的回复! |
2.Re:希望大家帮帮我,先谢过了! [Re: Bluebluesea] | Copy to clipboard |
Posted by: zcjl Posted on: 2007-03-29 11:06 http://www.blogjava.net/hitlang/articles/71833.html 以后碰到这样的问题,请先搜索一下,好吗? |
3.Re:希望大家帮帮我,先谢过了! [Re: Bluebluesea] | Copy to clipboard |
Posted by: sybillemon Posted on: 2007-03-29 16:33 |
4.Re:希望大家帮帮我,先谢过了! [Re: Bluebluesea] | Copy to clipboard |
Posted by: xiaoqianqian Posted on: 2007-03-30 09:15 看错误还看不出来 |
5.Re:希望大家帮帮我,先谢过了! [Re: Bluebluesea] | Copy to clipboard |
Posted by: chengbd Posted on: 2007-03-31 04:14 UnsupportedClassVersionError JDK的版本和class的版本不兼容了 |
6.Re:希望大家帮帮我,先谢过了! [Re: Bluebluesea] | Copy to clipboard |
Posted by: Bluebluesea Posted on: 2007-03-31 23:22 这个问题在大家的指教下完成了,很是感激,因为我是一个新手,然后大家见笑了,有不懂的还希望大家能够帮帮忙那! |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |