15:41:48.856 [http-808-4] DEBUG c.o.x.util.InstantiatingNullHandler - Entering nullPropertyValue [target=[com.opensymphony.xwork2.DefaultTextProvider@630d2a], property=struts]
15:41:48.856 [http-808-4] DEBUG c.o.xwork2.DefaultActionProxy - Creating an DefaultActionProxy for namespace  and action name recordmanage
15:41:48.856 [http-808-4] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'recordmanageAction'
15:41:48.856 [http-808-4] DEBUG c.o.x.interceptor.I18nInterceptor - intercept '/recordmanage' { 
15:41:48.856 [http-808-4] DEBUG c.o.x.interceptor.I18nInterceptor - requested_locale=null
15:41:48.856 [http-808-4] DEBUG c.o.x.interceptor.I18nInterceptor - before Locale=zh_CN
15:41:48.856 [http-808-4] DEBUG c.o.x.util.InstantiatingNullHandler - Entering nullPropertyValue [target=[com.dykj.erecord.web.app.recordmanage.action.RecordmanageAction@14e1819, com.opensymphony.xwork2.DefaultTextProvider@630d2a], property=struts]
15:41:48.856 [http-808-4] DEBUG o.a.s.i.FileUploadInterceptor - Bypassing / recordmanage
15:41:48.856 [http-808-4] DEBUG c.o.x.i.StaticParametersInterceptor - Setting static parameters {}
15:41:48.856 [http-808-4] DEBUG c.o.x.i.ParametersInterceptor - Setting params Rid => [ 126 ] 
15:41:48.856 [http-808-4] DEBUG c.o.xwork2.util.CompoundRootAccessor - No object in the CompoundRoot has a publicly accessible property named 'Rid' (no setter could be found).
15:41:48.856 [http-808-4] DEBUG o.a.s.i.v.AnnotationValidationInterceptor - Validating /recordmanage with method selectid.
15:41:48.856 [http-808-4] DEBUG c.o.x.i.DefaultWorkflowInterceptor - Invoking validate() on action com.dykj.erecord.web.app.recordmanage.action.RecordmanageAction@14e1819
15:41:48.856 [http-808-4] DEBUG c.o.x.i.PrefixMethodInvocationUtil - cannot find method [validateSelectid] in action [com.dykj.erecord.web.app.recordmanage.action.RecordmanageAction@14e1819]
15:41:48.856 [http-808-4] DEBUG c.o.x.i.PrefixMethodInvocationUtil - cannot find method [validateDoSelectid] in action [com.dykj.erecord.web.app.recordmanage.action.RecordmanageAction@14e1819]
15:41:48.856 [http-808-4] DEBUG c.o.xwork2.DefaultActionInvocation - Executing action method = null
15:41:48.872 [http-808-4] DEBUG o.a.s.d.ServletDispatcherResult - Forwarding to location /jsp/wro-r.jsp
15:41:48.872 [http-808-4] DEBUG c.o.x.util.InstantiatingNullHandler - Entering nullPropertyValue [target=[com.opensymphony.xwork2.interceptor.ExceptionHolder@115a947, com.dykj.erecord.web.app.recordmanage.action.RecordmanageAction@14e1819, com.opensymphony.xwork2.DefaultTextProvider@630d2a], property=org]

解决方案 »

  1.   

    cannot find method  你跳到修改时有没有进入到action啊?
      

  2.   

    要么没有进入到修改的action,要么在修改页面获取值的对象书写有误
      

  3.   

    根据Id修改, 在action里面写System。out。print(id);看看能否获取到能的话就时书写错误,不能就时根据Id查没查到咯
      

  4.   

    原因有二:
    1.你的POJO对象中没有写setId方法,导致修改页面传递过来的主键id无法封装到POJO中2.你的修改页面没有隐藏要修改的记录的id