Hibernate Annotation Errors

org.hibernate.AnnotationException: Annotated class should have an @Entity annotation

Make sure you have you imported javax.persistence.Entity instead of javax.org.hibernate.annotations.Entity

Published: Saturday, 28 May 2005