将dwr从2.0升级到3.0时,我面临以下问题。底层应用程序是基于spring mvc的,我在升级后还添加了相应的spring-dwr
xsd&s。我正在将调用传递给委托js到delegate
service。
任何帮助减轻这种情况将不胜感激。提前谢谢!
2015-09-24 13:45:14,511 WARN [org.directwebremoting.extend.Call] - <No methods called 'findxxxxxxxx' in BeanCreator for com.abc.xyz.delegators.XXXXServiceDelegate are applicable for the passed parameters.>
2015-09-24 13:45:14,511 DEBUG [org.directwebremoting.dwrp.BaseCallHandler] - <Marshalling exception>
java.lang.IllegalArgumentException: Method not found. See logs for details
at org.directwebremoting.extend.Call.findMethod(Call.java:247)
at org.directwebremoting.dwrp.BaseCallHandler.marshallInbound(BaseCallHandler.java:205)
at org.directwebremoting.dwrp.BaseCallHandler.handle(BaseCallHandler.java:108)
答案 0 :(得分:0)
如果'dwr-controller'给出'debug = true'选项,请通过添加“/ dwr /(welcome page-defaultly index.html)”来检查dwr调试页面。将显示bean列表,探索你的豆可能有所帮助。