更新时间:2022-03-03 06:47:02
就我而言,我添加了以下依赖项并且它起作用了,即使我不需要任何验证,也可能是 Java 更新导致了这个问题.
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>