Top "Hibernate-validator" questions

Hibernate Validator is the reference implementation for JSR 380 - Bean Validation 2.0

Hibernate validation "Unable to initialize javax.el.ExpressionFactory" error

I'm trying to use hibernate validation, code compiles, but when launched in fails with error: Exception in thread "main" javax.…

dependencies hibernate-validator
Hibernate Validator. How to work with @Valid annotation?

What purpose of @Valid annotation when putting it on method parameter level? public void (@Valid Person p) { ... } I created a …

java hibernate-validator
Spring Validation Between Two Date Fields?

In my Spring Application, i'm Using Hibernate Validator for Validation Purpose. When i'm doing simple Validation like @NotEmpty, @Email .. i'm …

java spring hibernate-validator spring-validator
No validator could be found for constraint 'javax.validation.constraints.NotBlank' validating type 'java.lang.String'

I'm using Hibernate validator to validate my beans. Actually I have this dependencies on my POM <!-- Hibernate validator …

java hibernate validation hibernate-validator javax.validation
How to validate number string as digit with hibernate?

Which annotations would I have to use for Hibernate Validation to validate a String to apply to the following: //should …

java hibernate-validator
Spring Framework <form:errors/> tag not showing errors

I know there are many similar questions here, but none of them solved my problem. I'm using Spring 4.0.3 and Hibernate …

validation spring-mvc hibernate-validator spring-form
Use custom validation messages in Hibernate + Spring

I tried the steps from the answer here: Hibernate Validator, custom ResourceBundleLocator and Spring But still just getting {location.title.…

hibernate spring spring-3 hibernate-validator
Adding @NotNull or Pattern constraints on List<String>

How can we ensure the individual strings inside a list are not null/blank or follow a specific pattern @NotNull …

java json validation hibernate-validator jsr
Test Custom Validator with Autowired spring Service

I have a custom Hibernate Validator for my entities. One of my validators uses an Autowired Spring @Repository. The application …

spring validation testing hibernate-validator