1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Java SE環境でJakarta Bean Validationを使うための依存性

Last updated at Posted at 2023-08-10

環境

  • JDK 17

結論

pom.xml
    <dependencies>
        <dependency>
            <groupId>org.hibernate.validator</groupId>
            <artifactId>hibernate-validator</artifactId>
            <version>8.0.1.Final</version>
        </dependency>
        <dependency>
            <groupId>org.glassfish.expressly</groupId>
            <artifactId>expressly</artifactId>
            <version>5.0.0</version>
        </dependency>
    </dependencies>

バージョンはその時で最新のものに変更してください。

説明

Hibernate ValidatorはJakarta Bean Validationの実装です。

Hibernate Validatorの動作にはJakarta Expression Language実装が必要です。

ExpressLyはJakarta Expression Languageの実装です。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?