java - @FieldMatch cannot be resolved to a type (Spring Framework) -


i trying use annotation @fieldmatch in web application spring framework.

these jars added

enter image description here

but eclipse tells me "fieldmatch cannot resolved type"; thought needed hibernate jars wrong. jar need?

it's in hibernate validator, if you're using maven, add dependency :

<dependency>   <groupid>org.hibernate</groupid>   <artifactid>hibernate-validator</artifactid>   <version>5.1.2.final</version> </dependency> 

Comments

Popular posts from this blog

Using 'OR' and 'AND' in SQL Server -

c++ - NetBeans Remote Development with additional configuration -

visual studio - TFS will not accept changes I've made to a Java project -