DWR problem

1. [DWR] --Erroring: batchId[1] message[org.directwebremoting.extend.MarshallException: Error marshalling 

或org.directwebremoting.extend.MarshallException: Error marshalling com.hsp.bean.User: com.hsp.bean.

User.See the logs for more details.

这种类型问题可能由两个地方导致

a. 你的POJO类不是一个JavaBean,最可能的原因是没有一个无参构造函数

b. 在dwr.xml里这个类的<convert>指定的不对,或者是没有指定

猜你喜欢

转载自weigang-gao.iteye.com/blog/2111303
dwr
今日推荐