To use the most recent version, include the library with the latest version of the Jakarta Validation API, for example: ...