From 581eef7249b82d8d26c2dd9ea6d4c5526c3dd752 Mon Sep 17 00:00:00 2001 From: mvanmiddelkoop Date: Sat, 28 Feb 2015 11:26:00 +0100 Subject: [PATCH] java.lang.NoClassDefFoundError When deploying a newly built Libreplan, this error came up on Tomcat and Glassfish. It seems to be related to Hibernate 4 not needing Hibernate Annotations anymore. I have removed two references in the pom.xml files, and the error was gone, while the application still runs smoothly. --- libreplan-business/pom.xml | 4 ---- pom.xml | 1 - 2 files changed, 5 deletions(-) diff --git a/libreplan-business/pom.xml b/libreplan-business/pom.xml index 1080622c9..176c6870f 100644 --- a/libreplan-business/pom.xml +++ b/libreplan-business/pom.xml @@ -26,10 +26,6 @@ org.hibernate hibernate-core - - org.hibernate - hibernate-annotations - org.hibernate hibernate-ehcache diff --git a/pom.xml b/pom.xml index 5d06cfb8f..84349b82e 100644 --- a/pom.xml +++ b/pom.xml @@ -237,7 +237,6 @@ org.hibernate - hibernate-annotations 3.5.6-Final