Skip to content

Commit 5cd4c8a

Browse files
authored
docs: 修正文档 快速开始#添加依赖 描述 (#47)
2 parents db33978 + dff8040 commit 5cd4c8a

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

document/web-docs/docs/guide/getting-started.md

+10-12
Original file line numberDiff line numberDiff line change
@@ -9,26 +9,24 @@
99
Latest Version:
1010
[![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)
1111

12+
### SpringBoot 2.x
13+
1214
```xml
13-
<dependencys>
1415
<dependency>
1516
<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>
1819
</dependency>
20+
```
1921

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
2523

24+
```xml
2625
<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>
3029
</dependency>
31-
</dependencys>
3230
```
3331

3432
## 添加启动注解

0 commit comments

Comments
 (0)