From 55711b4f7bb583eacd15d7712b64e4eb64af16f8 Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Sat, 7 Nov 2020 14:42:00 -0800 Subject: [PATCH] Fix ClassNotFound starting Hibernate --- wise-webapp/pom.xml | 25 ++++++------------- .../webapp/WEB-INF/wisemapping-servlet.xml | 2 +- 2 files changed, 8 insertions(+), 19 deletions(-) diff --git a/wise-webapp/pom.xml b/wise-webapp/pom.xml index 698dd9fc..1eb3e890 100644 --- a/wise-webapp/pom.xml +++ b/wise-webapp/pom.xml @@ -31,7 +31,6 @@ 5.2.10.RELEASE 5.2.5.RELEASE 5.4.23.Final - @@ -104,16 +103,18 @@ compile - - org.hibernate - hibernate-entitymanager - ${hibernate.version} - org.hibernate hibernate-core ${hibernate.version} + + + + org.hibernate + hibernate-validator + 6.0.21.Final + org.springframework spring-orm @@ -209,18 +210,6 @@ ${org.springframework.version} runtime - - org.hibernate - hibernate-entitymanager - 3.6.0.Final - runtime - - - org.hibernate - hibernate-core - 3.6.0.Final - compile - aopalliance aopalliance diff --git a/wise-webapp/src/main/webapp/WEB-INF/wisemapping-servlet.xml b/wise-webapp/src/main/webapp/WEB-INF/wisemapping-servlet.xml index 7fab100c..7d269fbf 100644 --- a/wise-webapp/src/main/webapp/WEB-INF/wisemapping-servlet.xml +++ b/wise-webapp/src/main/webapp/WEB-INF/wisemapping-servlet.xml @@ -74,7 +74,7 @@ - + /WEB-INF/defs/definitions.xml