dwr运行时出现Servlet.init() for servlet dwr-invoker threw exception的解决方法
错误信息如下: javax.servlet.ServletException: Servlet.init() for servlet dwr-invoker threw exception org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) java.lang.Thread.run(Unknown Source) root cause java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory org.directwebremoting.dwrp.PollHandler.<clinit>(PollHandler.java:382) java.lang.Class.forName0(Native Method) java.lang.Class.forName(Unknown Source) org.directwebremoting.impl.ContainerUtil.class$(ContainerUtil.java:97) org.directwebremoting.impl.ContainerUtil.setupDefaults(ContainerUtil.java:150) org.directwebremoting.impl.ContainerUtil.setupDefaultContainer(ContainerUtil.java:125) org.directwebremoting.servlet.DwrServlet.init(DwrServlet.java:73) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) java.lang.Thread.run(Unknown Source) root cause java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1360) org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206) java.lang.ClassLoader.loadClassInternal(Unknown Source) org.directwebremoting.dwrp.PollHandler.<clinit>(PollHandler.java:382) java.lang.Class.forName0(Native Method) java.lang.Class.forName(Unknown Source) org.directwebremoting.impl.ContainerUtil.class$(ContainerUtil.java:97) org.directwebremoting.impl.ContainerUtil.setupDefaults(ContainerUtil.java:150) org.directwebremoting.impl.ContainerUtil.setupDefaultContainer(ContainerUtil.java:125) org.directwebremoting.servlet.DwrServlet.init(DwrServlet.java:73) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) java.lang.Thread.run(Unknown Source) ********************************************************************************************************************************* 解决方法:这个问题,我一开始也被折腾了好久,后来发现,其实很简单,只是我少引用了一个包,那就是commons-logging-1.0.4.jar包,这个包你可以先去下载个dwr-2.0.4-src.zip,里面就含有这个包,然后,你把commons-logging-1.0.4.jar这个包放到你的wEB-INF下的lib文件夹下,再运行试试 |
转载于:https://www.cnblogs.com/zqmingok/archive/2009/08/27/1555426.html
dwr运行时出现Servlet.init() for servlet dwr-invoker threw exception的解决方法相关推荐
- HTTP Status 500 - Servlet.init() for servlet springmvc threw exception
解决办法: 一:把jdk版本换成1.7 or 1.7以下 二:使用spring 4.0RELEASE及以上版本 三:如果你使用的是eclipse开发,换成myeclipse就可以,这可能是这两个开发工 ...
- 深圳宝安图书馆官网错误 HTTP Status 500 - Servlet.init() for servlet spring threw exception...
停留了一段时间没有动 打开https://www.balib.cn/balib/category/152 *********************************************** ...
- Spring MVC 使用问题与解决--HTTP Status 500 - Servlet.init() for servlet springmvc threw exception
Spring MVC 使用问题与解决--HTTP Status 500 - Servlet.init() for servlet springmvc threw exception 参考文章: (1) ...
- HTTP Status 500 - Servlet.init() for servlet DispatcherServlet threw exception
车祸现场一 type Exception reportmessage Servlet.init() for servlet DispatcherServlet threw exceptiondescr ...
- Servlet.init() for servlet [Global] threw exception
出现以下的异常我们下异常的原因 Type 异常报告 消息 Servlet.init() for servlet [Global] threw exception 描述 服务器遇到一个意外的情况,阻止它 ...
- Java项目运行报异:严重: Servlet.service() for servlet [e3-manager] in context with path [] threw exception [R
Java项目中运行报错,错误如下: 严重: Servlet.service() for servlet [e3-manager] in context with path [] threw excep ...
- 错误javax.servlet.ServletException: Servlet.init() for servlet com.hank.controller.UserLogin threw exc
错误javax.servlet.ServletException: Servlet.init() for servlet com.hank.controller.UserLogin threw exc ...
- Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Could not
Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Could not ...
- Servlet.service() for servlet [jsp] in context with path [] threw exception [java.lang.LinkageError
启动maven的web项目时报错: Servlet.service() for servlet [jsp] in context with path [] threw exception [java. ...
最新文章
- XT711(大陆行货)刷机与优化指南
- linux 6.8 安装教程,CentOS 6.8 7.2 安装图解详细教程
- 使用 ConfigMap 挂载配置文件
- OGNL表达式的特殊的符号
- c#拼图碎片形状_使用神经网络解决拼图游戏
- 通俗易懂!视觉slam第十部分——贝叶斯估计
- 1130: 零起点学算法37——求阶乘
- 【知识索引】【数据结构(C语言)】
- jmeter-01 JMeter HTTP测试的各元件功能演示示例
- HTML5本地存储初探
- VC dimension(Vapnik-Chervonenkis dimension)
- Java加密体系结构(JCA)参考指南
- 武林外传自动寻路CALL
- google订阅消息推送
- 用数组+链表实现哈希表
- touchbar显示歌词
- 高级英语(张汉熙版)第一册学习笔记(原文及全文翻译)——8 - But What‘s a Dictionary For?(词典的用途究竟何在?)
- 游戏防封技术是学易语言还是学c,易语言写游戏脚本防封执行sqlplus 之后没执行...
- MySQL错误reading initial communication packet解决办法
- 可爱的小老鼠计算机教案,小班音乐鼠标小老鼠教案
热门文章
- 数据库期末总结笔记(零基础)-第三章 关系数据库SQL
- Codeforces Round #493 (Div. 2):C. Convert to Ones
- 派生类的构造复制与析构
- Wannafly挑战赛9: B. 数一数
- 安卓短信功能全解:调用系统短信功能发送短信、彩信,使用SmsManager发送短信,并监听发送短信的投递情况,使用广播接收器监听接收的短信。
- c#自定义可拖动变形控件
- caffe:制作自己的数据集train.txt和val.txt,生成lmdb文件
- 打开AD16的库librarry
- CSS-四种引入方式
- 黑白染色——封锁阳光大学