问题:

JPA Entity 如下

 

报错:

 

 

解决:

Entity 中不要覆盖了super class 中的 id class

 

参考: