我在部署dwr的例子时候,执行
http://localhost:8080/myapp/dwr/总是报javax.servlet.ServletException: Servlet.init() for servlet dwr-invoker threw exception
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
Java.lang.Thread.run(Thread.java:595)
解决办法,原因是我的Tomcat5.0.28和JDK1.5中的 xml-parser 冲突,于是我把TOMCAT_HOME/common/endorsed/xml-apis.jar中的xml-parser 删除了就好了,整个DWR就在我的电脑上运行起来了。
posted on 2006-09-19 14:21
周锐 阅读(629)
评论(0) 编辑 收藏 所属分类:
Ajax