ognl.MethodFailedException: Method "setManager" failed for object com.zhym.action.ItemAddAction@3e2a
2015-03-11 08:45
417 查看
错误原因:JSP提交的表单信息和Action中接受信息的属性类型不匹配。JSP提交的数据都是String类型的,而你在Action中将其定义给了一个自定义类,是Struts2本身转换不了的类型。
相关文章推荐
- ognl.MethodFailedException: Method "setXX" failed for object
- ognl.MethodFailedException: Method "setEndtime" failed for object com.piptrade.action.tradetools.eCa
- 13:52:43,788 WARN OgnlValueStack:49-Error setting valueognl.MethodFailedException: Method "setAge" f
- ognl.MethodFailedException: Method "
- ognl.MethodFailedException: Method "setRemainig" failed for object
- ognl.MethodFailedException: Method "setDate" failed for object解决
- 解决ognl.MethodFailedException: Method "list" failed for object com.szy.ResourceAction的问题
- 图片上传出现错误提示ognl.MethodFailedException: Method "setUpload" failed for object
- 进行修改时,发现记录不完整及ognl.MethodFailedException: Method "delete" failed for object cn.chenbiao.house.web.ac
- Exception in thread "main" java.io.IOException: Failed to set permissions of path
- ognl.MethodFailedException: Method "setId" failed for object Itemer/org.springframework.orm.hibernat
- ognl.MethodFailedException: Method "setPic" failed for object com.employment.action.NewsAction@aac66
- org.apache.ibatis.ognl.MethodFailedException: Method "size" failed for object
- org.apache.ibatis.ognl.MethodFailedException: Method "size" failed for object
- hibernate框架时遇到的错误ognl.MethodFailedException: Method "execute" f
- ognl.OgnlException: target is null for setProperty(null, "goodsSize", [Ljava.lang.String;@c3bb5。
- ognl.MethodFailedException:Error setting express'XXXXX' with value '[Ljava.lang.String的愿因
- ognl.OgnlException: target is null for setProperty(null, "y", [Ljava.lang.St
- ognl.OgnlException: target is null for setProperty(null, "description", [Ljava.lang.String;@12069f2
- ognl.OgnlException: target is null for setProperty(null, "y", [Ljava.lang.String;@1d57c7)