Skip to content

Commit 0dad83a

Browse files
JeffLi1993liqiangqiang
authored and
liqiangqiang
committed
Spring Boot HTTP over JSON 的错误码异常处理
1 parent caf2e86 commit 0dad83a

File tree

1 file changed

+32
-0
lines changed
  • springboot-validation-over-json

1 file changed

+32
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4+
<modelVersion>4.0.0</modelVersion>
5+
6+
<groupId>springboot</groupId>
7+
<artifactId>springboot-validation-over-json</artifactId>
8+
<version>0.0.1-SNAPSHOT</version>
9+
<name>springboot-validation-over-json :: Validation with http over json Demo</name>
10+
11+
<!-- Spring Boot 启动父依赖 -->
12+
<parent>
13+
<groupId>org.springframework.boot</groupId>
14+
<artifactId>spring-boot-starter-parent</artifactId>
15+
<version>1.5.1.RELEASE</version>
16+
</parent>
17+
18+
<dependencies>
19+
<!-- Spring Boot web依赖 -->
20+
<dependency>
21+
<groupId>org.springframework.boot</groupId>
22+
<artifactId>spring-boot-starter-web</artifactId>
23+
</dependency>
24+
25+
<!-- Junit -->
26+
<dependency>
27+
<groupId>junit</groupId>
28+
<artifactId>junit</artifactId>
29+
<version>4.12</version>
30+
</dependency>
31+
</dependencies>
32+
</project>

0 commit comments

Comments
 (0)