日期:2014-05-18  浏览次数:20793 次

以前在Tomcat 5.0.28下跑得好好和程序一换到6.0.10上就出错了,大家帮我看看是那错了

错误信怎如下

##########################################################

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:   java.lang.LinkageError:   Class   javax/servlet/http/HttpServletRequest   violates   loader   constraints
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:274)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)


root   cause  

java.lang.LinkageError:   Class   javax/servlet/http/HttpServletRequest   violates   loader   constraints
java.lang.Class.getDeclaredMethods0(Native   Method)
java.lang.Class.privateGetDeclaredMethods(Unknown   Source)
java.lang.Class.getDeclaredMethods(Unknown   Source)
org.apache.catalina.util.DefaultAnnotationProcessor.preDestroy(DefaultAnnotationProcessor.java:92)
org.apache.jasper.servlet.JspServletWrapper.destroy(JspServletWrapper.java:439)
org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:139)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:320)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)


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


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

Apache   Tomcat/6.0.10

------解决方案--------------------
classpath 配好了吗
------解决方案--------------------
up
我的异常网推荐解决方案:The server encountered an internal error () that prevented it from fulfilling this request.,http://www.aiyiweb.com/java-web/317.html