jeudi 5 mai 2016

error: package org.hibernate.annotations does not exist

error: package org.hibernate.annotations does not exist maven


This error appears when i do built to a maven project using hibernate.
to resolve this problem just add this dependecy to your pom.xml

<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-annotations</artifactId>
<version>3.5.0-Final</version>
</dependency>