当前位置:网站首页>@TableId can‘t more than one in Class: “com.example.CloseContactSearcher.entity.Activity“.

@TableId can‘t more than one in Class: “com.example.CloseContactSearcher.entity.Activity“.

2022-07-07 00:20:00 ChangYan.

Error report as shown in the figure
 Insert picture description here

Several files have been created , As a result, many mistakes were reported , For half an hour , Finally found my bug At the end of the error report !!
 Insert picture description here

Go and see what I built activity class , Copy and paste results … Yes 2 individual ! This @TableId There can only be one !!
 Insert picture description here

Delete the second one , I won't make a mistake , Compile and pass .
It's really careless …

原网站

版权声明
本文为[ChangYan.]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/188/202207061643085850.html