AnnotationException « Exception « JPA Q&A





1. org.hibernate.AnnotationException    coderanch.com

2. org.hibernate.AnnotationException: any ideas?    forum.hibernate.org

I'm getting a Caused by: org.hibernate.AnnotationException: mappedBy reference an unknown target entity property: model.Rol.Acteur in model.Acteur.rollen exception. Now I don't really see anything wrong with these classes (both are in the package model): Code: @Entity @Table(name = "T_ACTEUR") public class Acteur { @Id @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "Acteur") ...