springboot启动报错The Bean Validation API is on the classpath but no implementation could be found

springBoot启动报错

Description:

The Bean Validation API is on the classpath but no implementation could be found

Action:

Add an implementation, such as Hibernate Validator, to the classpath

2022-05-31 09:12:33.145  WARN 12516 --- [       Thread-5] c.a.n.common.http.HttpClientBeanHolder   : [HttpClientBeanHolder] Start destroying common HttpClient

上一次启动还好好的,这次就报错了?

添加依赖解决

        <dependency>
            <groupId>org.hibernate</groupId>
            <artifactId>hibernate-validator</artifactId>
            <version>5.3.0.Final</version>
        </dependency>

然后成功启动
在这里插入图片描述