No object in the CompoundRoot has a publicly accessible property named
2013-10-23 18:00
513 查看
No object in the CompoundRoot has a publicly accessible property named 'typeid' (no setter could be found)
在设置struts的devMode为true后 出现上述异常
原因就是devMode下form中的input会在action中找针对input name的setter
(struts.devMode = false,设置为true时,所有有名字(name)的input都必须
有对应的setter,无论是input为hidden设置的隐藏域还是通过url传的参数值)
解决方法就是注掉devMode true
或者为参数值设置set,get方法
在设置struts的devMode为true后 出现上述异常
原因就是devMode下form中的input会在action中找针对input name的setter
(struts.devMode = false,设置为true时,所有有名字(name)的input都必须
有对应的setter,无论是input为hidden设置的隐藏域还是通过url传的参数值)
解决方法就是注掉devMode true
或者为参数值设置set,get方法
相关文章推荐
- Caused by: No object in the CompoundRoot has a publicly accessible property named 'y' (no setter cou
- No object in the CompoundRoot has a publicly accessible property named
- No object in the CompoundRoot has a publicly accessible property named
- No object in the CompoundRoot has a publicly accessible property named 'submit'
- No object in the CompoundRoot has a publicly accessible property named
- No object in the CompoundRoot has a publicly accessible property named
- SSH整合:No object in the CompoundRoot has a publicly accessible property named 'x'
- 关于There is no getter for property named 'mohuname' in 'class java.lang.String'] with root cause问题
- There is no getter for property named 'column' in 'class java.lang.String'] with root cause
- There is no getter for property named 'UserCustom' in 'class com.hry.pojo.UserQueryVo'
- checking whether the C++ compiler works... no configure: error: in `/root/gperftools-2.1': configure
- ProbeException解决办法:There is no WRITEABLE property named 'id' in class 'java.lang.String'
- Mybatis异常There is no getter for property named 'XXX' in 'class java.lang.String'
- AttributeError: module object has no attribute “Series”. Code works in Python
- Mybatis 对单独传入参数string进行判断时报There is no getter for property named '**' in 'class java.lang.String解决办法
- org.apache.ibatis.reflection.ReflectionException:There is no getter for property named 'parentId' in
- truct in6_addr has no member named in6_u
- If you object has an "Id' property, it will be set with the generated Id from MongoDB.
- 源码分析 There is no getter for property named '*' in 'class java.lang.String
- There is no getter for property named 'userIds' in 'class java.lang.String'