Chinaunix首页 | 论坛 | 博客
  • 博客访问: 260526
  • 博文数量: 27
  • 博客积分: 713
  • 博客等级: 上士
  • 技术积分: 294
  • 用 户 组: 普通用户
  • 注册时间: 2006-01-25 09:09
文章分类
文章存档

2013年(2)

2012年(6)

2011年(15)

2010年(4)

分类: Java

2011-07-07 14:26:11

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: Servlet execution threw an exception

root cause

java.lang.NoSuchMethodError: org.w3c.dom.Node.getTextContent()Ljava/lang/String; vm.VmOperation.getVMList(VmOperation.java:408) vm.VmOperation.Connect(VmOperation.java:171) action.VMOperationAction.execute(VMOperationAction.java:36) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164) org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397) javax.servlet.http.HttpServlet.service(HttpServlet.java:743) javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

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




此异常是因为jdk1.5以上的版本与tomcat\common\endorsed下的xml-apis.jar的类发生冲突,解决办法如下: 

1,将common\endorsed下的xml-apis.jar移出或删掉.   (网上其它人已测试过) 

2. 用xalan系列jar包替换原来的xercesImpl.jar和xml-apis.jar。 
   xalan系列jar包:serializer.jar、xalan.jar、xercesImpl.jar和xml-apis.jar。(亲自测试通过)
阅读(2607) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~