当前位置: 代码迷 >> Java Web开发 >> javax.servlet.ServletException:   java.lang.LinkageError:  
  详细解决方案

javax.servlet.ServletException:   java.lang.LinkageError:  

热度:131   发布时间:2016-04-17 15:34:52.0
tomcat 5.0.28上运行得好好的程序怎么一到6.0上就了错呢?顶者有分

现在的版本是Tomcat   6.0正式版,帮我看看是什么错误,错误信怎如下:


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.



------解决方案--------------------
是jdk版本引发的问题吧?
------解决方案--------------------
不知道帮顶
------解决方案--------------------
用原来版本!开发不要用最新的东西,了解一下还可以!
------解决方案--------------------
uu
代码迷推荐解决方案:The server encountered an internal error () that prevented it from fulfilling this request.,http://www.daimami.com/search?q=317
  相关解决方案