Top "Spring-validator" questions

The Spring validation @NotNull does not validate

I’m trying to validate a POST request using Spring Validator. This is the Object I’m trying to validate: @…

java spring spring-boot spring-restcontroller spring-validator
Mock a ConstraintValidator of a @Validated annotated controller method on Spring

Using Spring Boot 1.3.6.RELEASE, i am trying to unit test a controller method using Junit, Mockito and MockMvc. I have …

spring spring-mvc spring-boot mockmvc spring-validator
Getting rejected value null spring validation

Hi in my project when I am trying to validate my form its not showing any error messages even if …

java spring jsp spring-form spring-validator
Spring validation for list of nested class

I have implemented my validation for list of custom class as mention in this post. For reference here my code …

java spring validation spring-validator
Spring validation returns long error messages, not just the customized message

Spring validation returns long error message instead of the customized once. This is the section of code in the dto. …

spring-boot spring-validator
How to validate the size of @RequestParam of type List

I'm creating a Spring-Boot microservice REST API that expects @RequestParam of type List<String>. How can I validate …

java spring-boot spring-web spring-validator