Browse Source

报错处理

anderx 4 years ago
parent
commit
d74f6e936c
1 changed files with 16 additions and 0 deletions
  1. 16 0
      pom.xml

+ 16 - 0
pom.xml

@@ -64,6 +64,22 @@
 				</exclusion>
 			</exclusions>
 		</dependency>
+		 <dependency>  
+            <groupId>javax.annotation</groupId>  
+            <artifactId>jsr250-api</artifactId>  
+            <version>1.0</version>  
+        </dependency> 
+        <!-- hibernate-validator -->
+        <dependency>
+            <groupId>org.hibernate</groupId>
+            <artifactId>hibernate-validator</artifactId>
+            <version>5.4.0.Final</version>
+        </dependency>
+        <dependency>
+     <groupId>javax.xml.bind</groupId>
+     <artifactId>jaxb-api</artifactId>
+     <version>2.3.0</version>
+ </dependency>
 		<dependency>
 			<groupId>org.springframework</groupId>
 			<artifactId>spring-web</artifactId>