Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
H

hibernate-validator

> 编程语言
Open source

Hibernate Validator - Jakarta Validation Reference Implementation

1.3K stars0 likes0 views
WebsiteGitHub

About

Hibernate Validator - Jakarta Validation Reference Implementation

Hibernate Validator

Version: 9.1.0.Final - 2025-11-07

What is it?

This is the reference implementation of Jakarta Validation 3.1. Jakarta Validation defines a metadata model and API for JavaBean as well as method validation. The default metadata source are annotations, with the ability to override and extend the metadata through the use of XML validation descriptors.

Documentation

The documentation for this release is included in the docs directory of the distribution package or can be accessed online.

Release Notes

The full list of changes for this release can be found in changelog.md.

System Requirements

JDK 17 or above.

Using Hibernate Validator

  • In case you use the distribution archive from the download site, copy dist/hibernate-validator-<version>.jar together with all jar files from dist/lib/required into the classpath of your application. For the purposes of logging, Hibernate Validator uses the JBoss Logging API, an abstraction layer which supports several logging solutions such (e.g. log4j or the logging framework provided by the JDK) as implementation. Just add a supported logging library to the classpath (e.g. log4j-<version>.jar) and JBoss Logging will delegate any log requests to that provider.

  • Add the following artifact to your Maven/Ivy/Gradle dependency list:

    xml
    
        org.hibernate.validator
        hibernate-validator
        9.1.0.Final
    

    You also need an API and implementation of the Unified Expression Language. These dependencies must be explicitly added in an SE environment. In a Jakarta EE environment, they are often already provided.

    xml
    
       org.glassfish.expressly
       expressly
       6.0.0
    
  • Jakarta Validation defines integration points with CDI. If your application runs in an environment which does not provide this integration out of the box, you may use the Hibernate Validator CDI portable extension by adding the following dependency:

    xml
    
       org.hibernate.validator
       hibernate-validator-cdi
       9.1.0.Final
    
  • hibernate-validator-annotation-processor-<version>.jar is an optional jar which can be integrated with your build environment respectively IDE to verify that constraint annotations are correctly used. Refer to the online documentation for more information.

Licensing

Hibernate Validator itself as well as the Jakarta Validation API and TCK are all provided and distributed under the Apache Software License 2.0. Refer to license.txt for more information.

Build from Source

You can build Hibernate Validator from source. Refer to the Contributing to Hibernate Validator guide for more information.

Continuous Integration

The official Continuous Integration service for the project is hosted on ci.hibernate.org.

We also include a GitHub action build file that can be used by those interested in running builds on their own forks. This build runs on Linux and Windows and executes the TCK both in standalone and in container modes.

Hibernate Validator URLs

  • Home Page
  • Jakarta Validation Home
  • Jakarta Validation Specs
  • Downloads
  • Mailing Lists
  • Issue Tracking
  • Continuous Integration

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Javabean-validationhibernatejava

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言