Adding hibernate-validator-4.0.2.GA.jar to dependencies.