The problems that arise are as follows
The preliminary judgment should be that the character set of the data table does not match Java, or is not supported.
show variables like 'character_set_%';
Type of query character used
Finally, follow the error message of idea and change the latin1 character set to utf8mb4_general_ci and you are done.
Restart the project after modifications