Problem reporting error:
problem solved:
It is because the java entity Id has set the auto-increment property, but Mysql has not set the auto-increment property, all resulting in an error. Find the database operating software and set the corresponding primary key to auto-increment.