The given object has a null identifier: com.ssh.dao.uinfo com.ssh.dao.uinfo这个实体类对象的主键值为空,需要给主键赋值 黑色头发:http://heisetoufa.iteye.com/