Unable to create a Configuration, because no Bean Validation provider could be found. Add a provider




增加bean的验证依赖

Hibernate Validator ,缺少了可用的验证依赖的实现类,增加下面这个依赖





<dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-validator</artifactId> <version>5.2.4.Final</version> </dependency>

3 down vote

Add a Bean Validation Provider dependency e.g Hibernate Validator. The Bean Validation API dependency is available on the classpath but the implementation is missing. Add the following to your pom.xml

你可能感兴趣的:(Unable to create a Configuration, because no Bean Validation provider could be found. Add a provider)