No identifier specified for entity: com.example.mobile_cd.po.User報錯/springboot自動生成表報錯

今天在IDEA裏用代碼直接生成表的時候報錯: No identifier specified for entity: com.example.mobile_cd.po.User 另附上一個簡單的JPA配置及實例: https://blog.csdn.net/qq_45128278/article/details/104986925 部分文件目錄: 錯誤原因: po包內的User.java中的包導入
相關文章
相關標籤/搜索