初識springboot——jpa註解映射

說明:這次學習使用了springboot框架,jpa註解映射實體類java 1,No identifier specified for entity: com.tf.model.User 看到此錯誤第一反應百度谷歌。(通過一陣檢索)看到了答案mysql 緣由:pojo實體bean缺乏了主鍵web 因而返回項目中查看實體類spring @Id @GeneratedValue(strategy=
相關文章
相關標籤/搜索