2.could not insert: [xxx.entity.User]; nested exception is org.hibernate.excepti
二.could not insert: [xxx.entity.User] nested exception is org.hibernate.exception.原因:添加字段值
二.could not insert: [xxx.entity.User]; nested exception is org.hibernate.exception.
原因:添加字段值重复,与 数据库unique key email(email)冲突!解决:换个email字段值或者删除数据库对应的记录