0
点赞
收藏
分享

微信扫一扫

错误org.hibernate.AnnotationException: No identifier specified for entity


AnnotationExceptionNo identifier specified for entity错误org.hibernate.AnnotationException: No identifier specified for entityorg.hibernate.AnnotationException: No identifier specified for entity.

报这个异常的原因是因为JavaBean的主键没有注解映射关系 ,加上对应的主键注解就可以了

举报

相关推荐

0 条评论