idea报错:Cause: java.sql.SQLException: Field 'id' doesn't have a default value 意思就是:数据库里面的该表的“id”没有自增值 解决方案:去数据库里面选择自增就可以了