1 package de.spring.webservices.configuration;
3 import org.springframework.context.annotation.Bean;
4 import org.springframework.context.annotation.Configuration;
5 import org.springframework.validation.beanvalidation.LocalValidatorFactoryBean;
8 public class ValidatorConfiguration {
11 public LocalValidatorFactoryBean localValidatorFactoryBean() {
12 return new LocalValidatorFactoryBean();