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>

lundi 2 mai 2016

java.lang.ClassNotFoundException: org.hibernate.service.jta.platform.JtaPlatform.spi.JtaPla

java.lang.ClassNotFoundException: org.hibernate.service.jta.platform.JtaPlatform.spi.JtaPlatform

Since Hibernate 4.3.x, the JtaPlatform class is refactored to a new package. To resolve this exception downgrade Hibernate to 4.2.x or older, or upgrade the Spring framework.

Modify your Pom.xml and add theses dependencies:


CANADA JOB