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