【错误】More than one row with the given identifier was found: 1, for class:

 

问题原因: 数据库测试数据自己填入,两条数据的id都为1,所以报错

问题解决: 找到数据库表 删除全部数据

posted @ 2016-09-05 15:15  涤新云  阅读(4546)  评论(0编辑  收藏  举报