欢迎光临
我们一直在努力

javax.validation.ValidationException: Unable to create a Configuration解决办法

解决办法:
在pom.xml文件中加入

<dependency>
    <groupId>org.hibernate</groupId>
    <artifactId>hibernate-validator</artifactId>
    <version>5.2.1.Final</version>
</dependency>
<dependency>
    <groupId>org.hibernate</groupId>
    <artifactId>hibernate-validator-annotation-processor</artifactId>
    <version>5.2.1.Final</version>
</dependency>

或者下载hibernate-validator-4.2.0.Final.jar文件放到lib中,下载地址「https://mvnrepository.com/artifact/org.hibernate/hibernate-validator/4.2.0.Final

赞(0)
未经允许不得转载:Ddmit » javax.validation.ValidationException: Unable to create a Configuration解决办法

评论 抢沙发

登录

找回密码

注册