java.lang.ClassNotFoundException: org.directwebremoting.servlet.DwrServlet

导入书中给的项目出现的问题:



java.lang.ClassNotFoundException: org.directwebremoting.servlet.DwrServlet
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1333)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1167)
at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:520)
at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:501)
at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:120)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1095)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1031)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4997)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5289)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)



这个异常的产生是因为dwr的相关包缺少了,缺少http://directwebremoting.org/dwr/downloads/index.html下载dwr.jar(3.01版本)

参考:http://blog.sina.com.cn/s/blog_65c209580100rqep.html



这个异常的产生是因为dwr的相关包缺少了,缺少 http://directwebremoting.org/dwr/downloads/index.html 下载dwr.jar(2.6版本)

你可能感兴趣的:(java.lang.ClassNotFoundException: org.directwebremoting.servlet.DwrServlet)