Browse Source

替换自定义验证注解

Ricky 3 years ago
parent
commit
b6596d021b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      ruoyi-common/pom.xml

+ 2 - 2
ruoyi-common/pom.xml

@@ -43,8 +43,8 @@
 
         <!-- 自定义验证注解 -->
         <dependency>
-            <groupId>javax.validation</groupId>
-            <artifactId>validation-api</artifactId>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-validation</artifactId>
         </dependency>
 
         <!--常用工具类 -->