Loading...
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <version>3.0.1</vers...
import javax.validation.Constraint; import javax.validation.Payload; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; imp...
@NotNull 值不能为空 @Null 值必须为空 @URL 字符串是合法URL @SafeHtml 字符串是安全的html @Email 字符串是邮件 @Length(min=,max=)检查字符串的长度 @Range(min=,max=) 数字必须在范围 @NotBlank 字符串必须有字符 @NotEmpty 字符串不为null,集合不为空 @Size(min=,...
在build.gradle中添加以下内容war{ from 'src/main/webapp' }