Top "Hibernate-validator" questions

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

Bean Validation: How can I manually create a ConstraintViolation?

I have a specific scenario where I can only check for violation conditions manually, at a later point in the …

java validation bean-validation hibernate-validator
Control validation annotations order?

A field has two validation annotations @NotEmpty @Length(min=3,max=100) String firstName; Observation If that field is left empty, then …

operator-precedence hibernate-validator
java.lang.NoSuchMethodError: javax.validation.BootstrapConfiguration.getClockProviderClassName

JDK: 1.8.0_131 Tomcat: 8.0.27.0 Hibernate Validator: 6.0.7.Final + all the dependencies downloaded from: Hibernate Validator 6 @POST @Consumes(MediaType.APPLICATION_JSON) @Produces(MediaType.APPLICATION_…

java hibernate validation bean-validation hibernate-validator
Accent in Regular Expression in Java

I'd like to use Hibernate Validator to validate some columns. The problem, as I understand, is that the \w marker …

java regex hibernate-validator
Include field name inside error message using Hibernate Validator

I'm using Hibernate Validator 4.2.0.Final and I'm looking for the simplest way to include class field name in my error …

java spring hibernate hibernate-validator
Determine whether field is annotated with a given annotations

I don't know if you managed to figure out what i am trying to do just from the title so …

java hibernate-validator
Hibernate Validator exception "No validator could be found for type: java.lang.String."

I use Spring and Spring MVC 3.1, Hibernate 3, Hibernate Validator 4.3. I want to add my custom constraint validator, but it seems …

hibernate spring-mvc hibernate-validator
Hibernate Validator, custom ResourceBundleLocator and Spring

I'm trying to override default ResourceBundleLocator in hibernate validation 4.1. So far it works perfectly, but the only examples of its …

java spring hibernate-validator
Using a custom ResourceBundle with Hibernate Validator

I'm trying to set up a custom message source for Hibernate Validator 4.1 through Spring 3.0. I've set up the necessary configuration: &…

spring bean-validation hibernate-validator
nested exception is java.lang.NoClassDefFoundError: Could not initialize class org.hibernate.validator.internal.engine.ConfigurationImpl

public ModelAndView Details(@ModelAttribute("") @Validated App app, BindingResult result, @RequestParam(value="paramSessionAttr", required=false) String sessionAttr, @RequestParam("paramAction") @NotNull @NotEmpty …

spring-mvc servlets hibernate-validator spring-validator