添加 参数校验实现 依赖

从 spring boot 2.3.0 版本以后,移除了 spring-boot-starter-validation 依赖。
pull/1230/head
abing 2023-12-25 21:43:27 +08:00 committed by GitHub
parent 964d55431f
commit 7eb69f8c3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -192,6 +192,11 @@
<artifactId>validation-api</artifactId>
</dependency>
<dependency>
<groupId>org.hibernate.validator</groupId>
<artifactId>hibernate-validator</artifactId>
</dependency>
<!-- 日志相关 -->
<dependency>
<groupId>org.springframework.boot</groupId>