<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-validation</artifactId>
<version>2.4.1</version>
</dependency>
libraryDependencies += "org.springframework.boot" % "spring-boot-starter-validation" % "2.4.1"
@Grapes(
@Grab(group='org.springframework.boot', module='spring-boot-starter-validation', version='2.4.1')
)
<dependency org="org.springframework.boot" name="spring-boot-starter-validation" rev="2.4.1" />