Top "Javax.validation" questions

How to validate type 'java.lang.Boolean' in Spring boot

I have a boolean field which I want to validate to have only "true" or "false" as value(without quotes). …

java spring-boot validation javax.validation
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
No @NotBlank validator for type String

I keep getting validator error for quite simple configuration class import lombok.Data; import org.springframework.boot.context.properties.ConfigurationProperties; …

spring-boot javax.validation
Spring boot : Error creating bean with name 'methodValidationPostProcessor'

I have a spring boot application and i am creating war file and deploying on Tomcat 8. The code works perfectly …

java spring validation spring-boot javax.validation
Annotation @NotEmpty doesn't check if String is null

I'm trying to validate some DTOs with javax.validation, but it seems that the annotation @NotEmpty doesn't check of the …

java junit javax.validation