报错信息: java.sql.SQLException: Field ‘id’ doesn’t have a default value 解决办法: 这个报错是由于我的数据库id字段没有设置为增导致的 相关文章: