included hibernate-validator and validation-api to the pom.xml