javax.validation.constraints.notnull does not exist code example
Example: javax.validation.constraints does not exist
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
<version>2.0.1.Final</version>
</dependency>