Top "Hibernate-validator" questions

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

Cross field validation with Hibernate Validator (JSR 303)

Is there an implementation of (or third-party implementation for) cross field validation in Hibernate Validator 4.x? If not, what is …

validation hibernate-validator bean-validation
javax.validation.ValidationException: HV000183: Unable to load 'javax.el.ExpressionFactory'

I try to write very simple application with hibernate validator: my steps: add following dependency in pom.xml: <dependency&…

java hibernate validation maven hibernate-validator
javax.validation.ValidationException: Unable to find default provider

I am currently working on Spring MVC web app and trying to hook up validation using the @Valid annotation. When …

java spring bean-validation hibernate-validator
java.lang.NoSuchMethodException: userAuth.User.<init>()

I have the class with validation: public class User { @Size(min=3, max=20, message="User name must be between 3 and 20 characters …

java spring validation hibernate-validator
javax.servlet.ServletException: HV000030: No validator could be found for type: java.lang.Integer

I have to update information in my database. FacadePatient.java class code: public Patient update(Patient p) { Patient pat = em.…

jakarta-ee bean-validation hibernate-validator
Hibernate validator: @Email accepts ask@stackoverflow as valid?

I'm using the @Email annotation to validate an e-mail address. The issue I'm having is that it's accepting things like …

hibernate validation spring-mvc hibernate-validator
JSR 303: How to Validate a Collection of annotated objects?

Is it possible to validate a collection of objects in JSR 303 - Jave Bean Validation where the collection itself does …

java bean-validation hibernate-validator jsr
Hibernate Validator - @Length - How to specify separate message for min and max?

I am using Hibernate validator for form validation in my web-app. I am using the @Length annotation for my String …

java bean-validation hibernate-validator
Trouble starting Hibernate Validator due to Bean Validation API

I'm trying to use Hibernate Validator in my project, but it isn't working. On the following line: SessionFactory sessions = config.…

java hibernate maven hibernate-validator
ValidationException: Unable to find a default provider

I found three entries for this in stack overflow: javax.validation.ValidationException: Unable to find default provider javax.validation.ValidationException: …

java spring hibernate-validator