javax validation @valid not working code example
Example: 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