Hibernate Validator

6.2 series stable

Keep javax.* packages, Expression Language overhaul, @SafeHtml removal


Java 8, 11 or 17
Jakarta Bean Validation 2.0

Not compatible with your requirements? Have a look at the other series.

See also the Compatibility policy.


Documentation for this specific series can be accessed through the links below:


You can find more documentation for all series on the documentation page.

How to get it

Maven, Gradle...

Maven artifacts of Hibernate Validator are published to Maven Central and to the JBoss Maven repository. Refer to the Maven Getting Started guide on the JBoss Wiki for more information on how to configure the JBoss Maven repository.

You can find the Maven coordinates of all artifacts through the link below:

Maven artifacts

Below are the Maven coordinates of the main artifacts.

Core implementation
CDI integration
OSGi integration
Annotation processor

Zip archive

Direct download is available from SourceForge:

Download Zip archive

More information about specific releases (announcements, download links) can be found here.

Getting started

If you want to start using Hibernate Validator, please refer to the getting started guide:



If you need to upgrade from a previous series, please refer to the migration guide:


What's new

Latest release announcement (2020-12-23): 6.2.0.Final.

A detailed list of new features, improvements and fixes in this series can be found on our issue tracker.

Jakarta Bean Validation

Hibernate Validator 6.2 uses the Jakarta Bean Validation API artifact i.e. jakarta.validation:jakarta.validation-api in version 2 and with the javax.validation.* package name.

No API changes.

Expression Language overhaul

Expression Language disabled by default for custom violations.

Ability to define the Expression Language features enabled for more safety.

@SafeHtml removal

The @SafeHtml constraint marked as deprecated for a while has been dropped from the codebase.

Releases in this series

Back to top