第一个springboot遇到的问题 The Bean Validation API is on the classpath but no implementation could be found

时间:2020-07-22 16:47:06   收藏:0   阅读:928

 

The Bean Validation API is on the classpath but no implementation could be found

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>

 

 

 

 

转:

第一个springboot遇到的问题

原文:https://www.cnblogs.com/libin6505/p/13360950.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!