org.hibernate.AnnotationException: mappedBy reference an unknown target entity property: xxxxxxx
原因是创建CompanyAcademyArticleItem时,OneToMany注解中mappedBy写错了,应该写@OneToMany(mappedBy="companyAcademyArticleItem")
org.hibernate.AnnotationException: mappedBy reference an unknown target entity property: xxxxxxx
原因是创建CompanyAcademyArticleItem时,OneToMany注解中mappedBy写错了,应该写@OneToMany(mappedBy="companyAcademyArticleItem")
转载于:https://www.cnblogs.com/gqymy/p/9414551.html