NoClassDefFoundError: javax/validation/constraints/Size [How to Solve]

Error: Java: java.lang.noclassdeffounder error: javax/validation/constraints/size

Do the following:

<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
<version>1.1.0.Final</version>
</dependency>

Similar Posts: