问题
Getting validation error for
@NotNull
@NotEmpty
@Pattern(regexp ="^[0-9a-zA-Z,.\'_+*()?;\"!$%#@={}]$[\\/®™©|&-]*$")
private String testListName;
I am passing the testlist name in json format to create a resource using restservice. and getting validation error.
{"testListName":"longlist"}
来源:https://stackoverflow.com/questions/37795395/validation-error-for-pattern