File tree 1 file changed +10
-12
lines changed
document/web-docs/docs/guide
1 file changed +10
-12
lines changed Original file line number Diff line number Diff line change 9
9
Latest Version:
10
10
[ ![ Maven Central] ( https://img.shields.io/maven-central/v/cn.sticki/spel-validator-root.svg )] ( https://central.sonatype.com/search?q=g:cn.sticki%20a:spel-validator-root )
11
11
12
+ ### SpringBoot 2.x
13
+
12
14
``` xml
13
- <dependencys >
14
15
<dependency >
15
16
<groupId >cn.sticki</groupId >
16
- <artifactId >spel-validator</artifactId >
17
- <version >Latest Version </version >
17
+ <artifactId >spel-validator-javax </artifactId >
18
+ <version >0.4.0-beta </version >
18
19
</dependency >
20
+ ```
19
21
20
- <dependency >
21
- <groupId >org.hibernate.validator</groupId >
22
- <artifactId >hibernate-validator</artifactId >
23
- <version >6.2.5.Final</version >
24
- </dependency >
22
+ ### SpringBoot 3.x
25
23
24
+ ``` xml
26
25
<dependency >
27
- <groupId >org.springframework.boot </groupId >
28
- <artifactId >spring-boot-starter-web </artifactId >
29
- <version >${spring-boot-starter-web.version} </version >
26
+ <groupId >cn.sticki </groupId >
27
+ <artifactId >spel-validator-jakarta </artifactId >
28
+ <version >0.4.0-beta </version >
30
29
</dependency >
31
- </dependencys >
32
30
```
33
31
34
32
## 添加启动注解
You can’t perform that action at this time.
0 commit comments