In my case, I added the following dependency and its worked, Even I do not need any validation, maybe the Java update caused this issue.
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-validation</artifactId>
</dependency>