Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

java.lang.NoClassDefFoundError: javax/validation/ParameterNameProvider

Just remove the javax.validation dependency

<dependency>
    <groupId>javax.validation</groupId>
    <artifactId>validation-api</artifactId>
    <version>1.0.0.GA</version>
</dependency>

That fixed this particular problem on my end.


Hibernate Validator 5x is not compatible with validation-api 1.0.x

JPA 2.0 : Exception to use javax.validation.* package in JPA 2.0