I encounter the same error creation of the table and after having a long day, I mistakenly add String as type instead of Long
@Id @GeneratedValue(strategy = GenerationType.IDENTITY) private **String** id; <-- Long id;