help me please. an dwr error

问题描述

hello I deploy a web project using dwr, it seems no error , but when I access the http://localhost:8080/sclBBS/regist.jsp page, the js does not work and the console show the messages below: 信息: Server startup in 28639 ms2008-08-13 10:40:33,773 INFO [org.directwebremoting.impl.StartupUtil] - DWR Version 2.0.3 starting.2008-08-13 10:40:33,773 INFO [org.directwebremoting.impl.StartupUtil] - - Servlet Engine: Apache Tomcat/6.0.162008-08-13 10:40:33,773 INFO [org.directwebremoting.impl.StartupUtil] - - Java Version: 1.5.0_142008-08-13 10:40:33,773 INFO [org.directwebremoting.impl.StartupUtil] - - Java Vendor: Sun Microsystems Inc.2008-08-13 10:40:34,351 INFO [org.directwebremoting.dwrp.DefaultConverterManager] - Probably not an issue: org.jdom.Document is not available so the jdom converter will not load. This is only an problem if you wanted to use it.2008-08-13 10:40:34,351 INFO [org.directwebremoting.dwrp.DefaultConverterManager] - Probably not an issue: org.jdom.Element is not available so the jdom converter will not load. This is only an problem if you wanted to use it. it seems that the there is sth wrong with xml parser. Can you help me?

解决方案

The error message show the error so clearly!引用Probably not an issue: org.jdom.Element is not available so the jdom converter will not loadNow you have to add the jar package of jdom into your lib or classpath.Maybe this help you.BTW:Where are u from,sclsch?
解决方案二:
the lib-file jdom.jar is missing.
解决方案三:
the lib-file jdom.jar is missing.

时间: 2024-07-31 11:07:26

help me please. an dwr error的相关文章

dwr返回时间报错-Error marshalling java.util.Date: For input string: "2013-09-10%2013%3A09"

问题描述 Error marshalling java.util.Date: For input string: "2013-09-10%2013%3A09" 时间文本框: 通过dwr获取res,向表单传值: res[0] = [{devNo:res[0].devNo,sleepTime:res[0].sleepTime,syncTime:formatDate(res[0].syncTime,'yyyy-mm-dd HH:nn'),safeTime:formatDate(res[0].

dwr 弹出 error marshalling data.see the logs for more details

问题描述 最近在做项目的时候,使用DWR,在前台一直弹出这个异常,而且数据无法获取到我配置的对象是<convertmatch="com.sean.auction.model.Province"converter="bean"><paramname="include"value="id,name,cities"></param></convert>其中id为int,name为Str

DWR: A server error has occured

问题描述 在自己电脑上测试一切正常,可是挂到服务器上的虚拟机上就出现这样的问题,在自己电脑上,tomcat用的6.0版本的,数据库和tomcat都在本地,发布到服务器上,数据库是装在服务器上,但是tomcat和jre都是装在虚拟机里面,tomcat7.0版本的,发布之后就出现这样的问题.现在还不知道原因,但是web工具里面看到的是engine.js这个文件的646行的问题 解决方案 哪个版本?通常是后台报错了,请看一下后台详细日志

DWR配置文件web.xml详解

1.最小配置     <servlet>       <servlet-name>dwr-invoker</servlet-name>       <servlet-class>uk.ltd.getahead.dwr.DWRServlet</servlet-class>       </servlet>       <servlet-mapping>       <servlet-name>dwr-invoke

DWR调用远程方法的错误和异常处理

记得以前通常我们在调用 DWR 的远程方法是这样写 Remote.method(params,function(data){ //服务端执行后客户端的逻辑,如 alert("服务端执行后返回的数据:"+data); }); Remote.method(params,function(data){ //服务端执行后客户端的逻辑,如 alert("服务端执行后返回的数据:"+data); }); 第一个至倒数第二个参数为客户端传向服务端的数据,最后一个参数直接就是一个回

连接数据库 错误-我的sql连接有问题吗?用的是Dwr!看下面代码以及出的问题,请大神们帮我呀!

问题描述 我的sql连接有问题吗?用的是Dwr!看下面代码以及出的问题,请大神们帮我呀! 我的DBManager!用于连接数据库! package com.qhit.util; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import javax.n

在DWR中怎么实现页面跳转?

问题描述 项目要求: 1,在dwr Java代码中实现权限验证,如果session中没有用户信息,页面实现跳转. 2,前提:由于项目UI对后台代码的调用都是通过dwr,没有用到别的框架和jsp和servlet. 要求:需要实现通过Dwr调用,向前端返回一个excle文件. 我的其中一个代码如下: public void doSomething() throws Exception { //取得webapp上下文对象org.directwebremoting.WebContext web = We

dwr-session error问题,请求帮助

问题描述 session error问题,请求帮助 我之前用的开发环境是jdk1.5+weblogic9,现在客户要求升级到jdk1.6+weblogic11g.环境搭建好之后,登陆系统很多地方点击功能页面就弹出session error的提示框 在网上查了一下说要在web.xml里面添加一段话 crossDomainSessionSecurity false 但crossDomainSessionSecurity是dwr2.0才有的,所以我又替换了dwr.jar换成2.0的jar包. 做完这些

dwr+webwork 调用action问题

问题描述 我用dwr+webwork在网上看了许多配置,还看了dwr的文档总是报Error:'DWRActionUtil'未定义,这个错误配置如下,请大家帮看看!dwr.xml<createcreator="new"javascript="DWRAction"><paramname="class"value="org.directwebremoting.webwork.DWRAction"/><i