首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > Web前端 >

struts2.x 的交付表单出现 Could not create and/or set value back on to object

2013-01-26 
struts2.x 的提交表单出现 Could not create and/or set value back on to object [DH-OFFICE] 2013-01-21

struts2.x 的提交表单出现 Could not create and/or set value back on to object
 [DH-OFFICE] 2013-01-21 13:25:13 ERROR [http-8080-9] InstantiatingNullHandler.nullPropertyValue(110) | Could not create and/or set value back on to object
java.lang.InstantiationException: com.sencloud.qy.oa.model.erp.QySell 


这个主要的是在表单对应的实体类中,没有加入默认的构造函数 导致。添加上就Ok了
比如:新增Student , 那么就再Student.java 添加一个 public Student(){}


热点排行