import javax.validation.constraints.notblank not working code example
Example 1: javax notblank not working
add in pom.xml
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-validation</artifactId>
</dependency>
need restart intellij ide
Example 2: annotation spring notnull
<dependency>
<groupId>org.hibernate.validator</groupId>
<artifactId>hibernate-validator</artifactId>
</dependency>
with '@validateur' in application