引入pom文件依赖
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-validation</artifactId>
</dependency>
依赖文章地址https://blog.csdn.net/MINGHUE/article/details/121543101
详细讲解用法地址https://blog.csdn.net/weixin_43990804/article/details/112974137
文章三https://blog.csdn.net/minkeyto/article/details/105502423
标签:校验,blog,csdn,details,https,article,net,Validated,数据 From: https://www.cnblogs.com/ZXDZXD/p/18180334