求助 我的MyEclipse显示JSP问题
我的MyEclipse和TOMCAT安装好后,在MyEclipse里面无法打开JSP 希望各位帮帮我 我的QQ:85532332
出现如下错误,
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: Bad version number in .class file
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:244)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
java.lang.UnsupportedClassVersionError: Bad version number in .class file
java.lang.ClassLoader.defineClass1(Native Method)
java.lang.ClassLoader.defineClass(Unknown Source)
java.security.SecureClassLoader.defineClass(Unknown Source)
java.net.URLClassLoader.defineClass(Unknown Source)
java.net.URLClassLoader.access$100(Unknown Source)
java.net.URLClassLoader$1.run(Unknown Source)
java.security.AccessController.doPrivileged(Native Method)
java.net.URLClassLoader.findClass(Unknown Source)
org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:156)
org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:69)
org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:548)
org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:136)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:307)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs.
--------------------------------------------------------------------------------
[[it] 本帖最后由 xfbt2008 于 2008-10-17 22:32 编辑 [/it]]
搜索更多相关主题的帖子:
MyEclipse JSP
----------------解决方案--------------------------------------------------------
回复 1# xfbt2008 的帖子
重新新建project,试试 ----------------解决方案--------------------------------------------------------
服务器 内部错误,看myeclipse中的tomcat启动错误了没
建议去进程里把tomcat进程都结束了,在启动myeclipse中的tomcat
----------------解决方案--------------------------------------------------------
你可能是不小心在那个文件里面多写了几个字母
----------------解决方案--------------------------------------------------------
jdk 版本问题,估计你的当前的 jdk 版本过低,换个高点的吧
----------------解决方案--------------------------------------------------------