2 qq 30420315 qq_30420315 于 2016.02.16 00:38 提问

cannot find method [*] in action [*]这个问题是什么鬼?

2016-02-16 00:32:16,038 DEBUG (com.opensymphony.xwork2.interceptor.ParametersInterceptor:72) - Parameter [img64] was accepted and will be appended to action!
2016-02-16 00:32:16,039 DEBUG (com.opensymphony.xwork2.conversion.impl.XWorkConverter:76) - Retrieving convert for class [class com.ticket.action.WapValidationAction] and property [img64]
2016-02-16 00:32:16,039 DEBUG (com.opensymphony.xwork2.conversion.impl.XWorkConverter:72) - field-level type converter for property [img64] = none found
2016-02-16 00:32:16,039 DEBUG (com.opensymphony.xwork2.conversion.impl.XWorkConverter:72) - global-level type converter for property [img64] = none found
2016-02-16 00:32:16,039 DEBUG (com.opensymphony.xwork2.conversion.impl.XWorkConverter:72) - falling back to default type converter [com.opensymphony.xwork2.conversion.impl.XWorkBasicConverter@203945f7]
2016-02-16 00:32:16,039 DEBUG (com.opensymphony.xwork2.ObjectFactory:72) - Creating converter of type [com.opensymphony.xwork2.conversion.impl.StringConverter]
2016-02-16 00:32:16,041 DEBUG (org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor:72) - Validating //wapValidation_erWeiMa with method erWeiMa.
2016-02-16 00:32:16,048 DEBUG (com.opensymphony.xwork2.validator.ValidationInterceptor:72) - Invoking validate() on action com.ticket.action.WapValidationAction@4c8dc2e4
2016-02-16 00:32:16,048 DEBUG (com.opensymphony.xwork2.interceptor.PrefixMethodInvocationUtil:72) - cannot find method [validateErWeiMa] in action [com.ticket.action.WapValidationAction@4c8dc2e4]
2016-02-16 00:32:16,048 DEBUG (com.opensymphony.xwork2.interceptor.PrefixMethodInvocationUtil:72) - cannot find method [validateDoErWeiMa] in action [com.ticket.action.WapValidationAction@4c8dc2e4]
2016-02-16 00:32:16,048 DEBUG (com.opensymphony.xwork2.DefaultActionInvocation:72) - Executing action method = erWeiMa
2016-02-16 00:32:16,151 DEBUG (com.opensymphony.xwork2.DefaultActionInvocation:72) - No result returned for action com.ticket.action.WapValidationAction at null
2016-02-16 00:32:16,151 DEBUG (com.opensymphony.xwork2.interceptor.I18nInterceptor:76) - after Locale=zh_CN
2016-02-16 00:32:16,151 DEBUG (com.opensymphony.xwork2.interceptor.I18nInterceptor:72) - intercept }

这是在服务器获取到的信息,大神帮忙看看,怎么解决这个问题?

4个回答

Mr_dsw
Mr_dsw   Ds   Rxr 2016.02.16 08:53
已采纳

找不到方法,是不是类中的方法不存在,给个建议,把日志弄成代码的形式

wangzhiyu1980
wangzhiyu1980   2016.02.16 08:26

这log信息还是有点少。
它更像是远程对象的接口找不到了。

made_differ
made_differ   2016.02.16 08:33

cannot find method [validateErWeiMa] in action [com.ticket.action.WapValidationAction@4c8dc2e4]

Royal_lr
Royal_lr   Ds   Rxr 2016.02.16 11:18

看下你的请求和struts的配置文件,,

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!