akarta.validation-api =》jakarta.el 依赖,保证 EL 不报错

This commit is contained in:
YunaiV 2021-11-02 08:23:15 +08:00
parent 0e209d9cfc
commit 1b336c7df6
5 changed files with 11 additions and 11 deletions

View File

@ -118,8 +118,8 @@
</dependency>
<dependency>
<groupId>jakarta.validation</groupId>
<artifactId>jakarta.validation-api</artifactId>
<groupId>org.glassfish</groupId>
<artifactId>jakarta.el</artifactId>
<scope>provided</scope> <!-- 设置为 provided主要是 PageParam 使用到 -->
</dependency>
</dependencies>

View File

@ -30,8 +30,8 @@
<!-- 工具类相关 -->
<dependency>
<groupId>jakarta.validation</groupId>
<artifactId>jakarta.validation-api</artifactId>
<groupId>org.glassfish</groupId>
<artifactId>jakarta.el</artifactId>
</dependency>
<dependency>
<groupId>org.hibernate.validator</groupId>

View File

@ -57,8 +57,8 @@
</dependency>
<dependency>
<groupId>jakarta.validation</groupId>
<artifactId>jakarta.validation-api</artifactId>
<groupId>org.glassfish</groupId>
<artifactId>jakarta.el</artifactId>
</dependency>
<!-- 三方云服务相关 -->

View File

@ -61,8 +61,8 @@
<!-- 工具类相关 -->
<dependency>
<groupId>jakarta.validation</groupId>
<artifactId>jakarta.validation-api</artifactId>
<groupId>org.glassfish</groupId>
<artifactId>jakarta.el</artifactId>
</dependency>
</dependencies>
</project>
</project>

View File

@ -29,8 +29,8 @@
<!-- 工具类相关 -->
<dependency>
<groupId>jakarta.validation</groupId>
<artifactId>jakarta.validation-api</artifactId>
<groupId>org.glassfish</groupId>
<artifactId>jakarta.el</artifactId>
</dependency>
</dependencies>