Downgraded hibernate validator to make it compatible with hibernate core.