码迷,mamicode.com
首页 > 编程语言 > 详细

spring mvc 错误摘要--。位。

时间:2015-10-13 18:48:45      阅读:147      评论:0      收藏:0      [点我收藏+]

标签:

1.。。。identifier of an instance of org.szgzw.ent.profile.baseinfo.enterprise.EnterpriseEntity was altered from 2c90e4da49514c750149515eb56f0003 to undefined; nested exception is org.hibernate.HibernateException: identifier of an instance of org.szgzw.ent.profile.baseinfo.enterprise.EnterpriseEntity was altered from 2c90e4da49514c750149515eb56f0003 to undefined   

注意本人这里是undedined ,在搜索中发现该类似错误有好多。如:not null      from 11221 to 31211

我这里是undefined 。


事实上这里报这个错的原因是,我提交表单过来时,有一个字段  在相应的controller 中没有去接收它。

比如。

表单中有。<input type="hidden" name="enterprise.uuid" value="${entId }">

           而我在controller中没实用@RequestParam(value = "entId", required = true) String entId,    因此,报告收到了错误的。


版权声明:本文博主原创文章,博客,未经同意不得转载。

spring mvc 错误摘要--。位。

标签:

原文地址:http://www.cnblogs.com/lcchuguo/p/4875199.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!