From a6c1668bd9765f73aca88e61d4c4da570f1d20f6 Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Mon, 4 Apr 2016 11:53:12 +0100 Subject: [PATCH] Switch validator starter for hibernate validator In the web starter we shouldn't depend explicitly on any EL implementation, otherwise when people build wars and deploy them in containers that have their own EL there is a conflict. We can still depend on hibernate-validator to support JSR-303 in web apps because the EL implementation comes with the container. Fixes gh-5454 --- spring-boot-starters/spring-boot-starter-web/pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-starters/spring-boot-starter-web/pom.xml b/spring-boot-starters/spring-boot-starter-web/pom.xml index 2d178ec872f..368ebfb2bd5 100644 --- a/spring-boot-starters/spring-boot-starter-web/pom.xml +++ b/spring-boot-starters/spring-boot-starter-web/pom.xml @@ -28,8 +28,8 @@ spring-boot-starter-tomcat - org.springframework.boot - spring-boot-starter-validation + org.hibernate + hibernate-validator com.fasterxml.jackson.core