且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

“Bean Validation API 在类路径上,但找不到实现"阻止启动

更新时间: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>