由DWR1.0到DWR2.0常出现的问题
上一篇 /
下一篇 2007-11-29 10:14:00
/ 个人分类:爪哇地带
新疆博客网1b(u?$tu)h7A9vfUe在1.0的时候是好使的 换成2.0的时候 新疆博客网8\D2n] vI2S
就出现 Missing method or missing parameter converters 这个错误了
tK jA}w$s+OD
z0
新疆博客网a9RF!_Ed S2007-11-29 17:44:14 org.directwebremoting.util.CommonsLoggingOutput warn新疆博客网J4U*u9o5u:w hUM
警告: Marshalling exception: Missing method or missing parameter converters:
/Xc0o6`)A"xd0
新疆博客网:H
]5W-nP*j主要原因就是DWR2中更新了的内容,原文如下:新疆博客网 G1qaK'MC#w'I
新疆博客网4Ypw7Hn9\i
dp"^The callback-as-first-parameter system has been deprecated since version 0.9 in favor of the callback-as-last-parameter system. In version 2.0 we removed support for the first-parameter option because it caused some hard to detect bugs with null parameters. From version 2.0 the callback must be the last parameter, and can not be the first parameter.新疆博客网`:W;O"FmcJL
新疆博客网 M-q*{rrc3y6@
A就是说以前版本callback参数是放在参数列表第一个参数,而在0.9版本中callback参数改为参数列表最后一个参数。到2.0版本取消了对callback参数前置的支持。新疆博客网*LY Q1c0_zJ p
导入论坛
引用链接
收藏
分享给好友
管理
举报
TAG: