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>
<dependency> <dependency>
<groupId>jakarta.validation</groupId> <groupId>org.glassfish</groupId>
<artifactId>jakarta.validation-api</artifactId> <artifactId>jakarta.el</artifactId>
<scope>provided</scope> <!-- 设置为 provided主要是 PageParam 使用到 --> <scope>provided</scope> <!-- 设置为 provided主要是 PageParam 使用到 -->
</dependency> </dependency>
</dependencies> </dependencies>

View File

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

View File

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

View File

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

View File

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