首先,需要在pom.xml中引入Hibernate-validator相关jar,此处使用Hibernate-validator实现
<dependency> <groupId>org.hibernate.validator</groupId> <artifactId>hibernate-validator</artifactId> <version>6.0.5.Final</version> </dependency>
标签:spring 需要 pom artifact nbsp body validator org XML
首先,需要在pom.xml中引入Hibernate-validator相关jar,此处使用Hibernate-validator实现
<dependency> <groupId>org.hibernate.validator</groupId> <artifactId>hibernate-validator</artifactId> <version>6.0.5.Final</version> </dependency>
标签:spring 需要 pom artifact nbsp body validator org XML
原文地址:http://www.cnblogs.com/xiaoQ0725/p/8081858.html