微服务启动失败报错

在网上找了很长时间尝试了很多办法都没有用,这让我十分烦躁,这Hibernate Validator我根本没用,他报什么错啊,但他又报Add an implementation, such as Hibernate Validator, to the classpath错误,那我只好死马当活马医,加上这个依赖看看,没想到还真成功了。


解决办法
找到项目中Hibernate Validator的依赖版本

pom文件中添加Hibernate Validator该版本的依赖

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

重启微服务,启动成功


博主新系列:大厂面试题请移步 大厂面试题专栏

Java从入门到入坟学习路线目录索引

开源爬虫实例教程目录索引


SpringBoot启动报错Action: Add an implementation, such as Hibernate Validator, to the classpath解决办法相关推荐

  1. springboot启动报错:Add an implementation, such as Hibernate Validator, to the classpath解决方案

    Springboot2.x项目,整合swagger文档,加入了离线文档导出,使用到了knife4j 引用完后,启动项目时,报错 信息如下: The Bean Validation API is on ...

  2. springboot项目报错:ERROR 9112 --- [nio-8080-exec-1] o.a.c.c.C.[.[.[/].[dispatcherServlet] 的解决办法

    启动springboot项目,访问页面后报错 报错信息如下: [nio-8087-exec-1] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.ser ...

  3. 项目启动报错No appropriate protocol (protocol is disabled or cipher suites are inappropriate) 解决办法

    错误描述: 项目启动报错 Caused by: javax.net.ssl.SSLHandshakeException: No appropriate protocol (protocol is di ...

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

    解决:删除本地maven仓库下,hibernate-validator文件夹下的所有文件.

  5. springboot 报Spring boot 报Add an implement,such as Hibernate Validator, to the classpath

    spring boot 版本1.4.7.RELEASE  1.启动报错如下:  ationConfigEmbeddedWebAp ationConfigEmbeddedWebAp o. s. b. d ...

  6. springboot启动报错Logbook

    springboot启动报错 APPLICATION FAILED TO START Description: Field logbookHttpRequestInterceptor in com.j ...

  7. springboot启动报错:Unregistering JMX-exposed beans on shutdown

    环境 1,maven 3.5.0 2,eclipse 4.7.1 3,spring boot 1.5.9.RELEASE springboot启动报错 按照spring 用户手册创建新的spring ...

  8. SpringBoot启动报错:Parameter 0 of method hmset in com.qcby.rbac.util.RedisUtils required a bean of type

    SpringBoot启动报错,报错信息如下: 报错是由于A类中定义了含参数的构造函数,Spring自动构造和注入时未为该Bean传入参数,引起报错. 查了很多资料,最后发现,我是因为注释的时候没有把@ ...

  9. 启动Spring项目报错,Springboot启动报错 Disconnected from the target VM 解决过程

    启动Spring项目报错,Springboot启动报错 Disconnected from the target VM 解决过程 大概率是缺少了一下依赖 <dependency><g ...

最新文章

  1. 走你!Github 开源整合
  2. 洛谷P1315 观光公交
  3. 安装“ubuntu-8.04-server”(中)
  4. python torch exp_Python:PyTorch 保存和加载训练过的网络 (八十)
  5. 2021年热门临床研究盘点
  6. CD marker 是什么?
  7. SQL Server 创建表
  8. hdu3359 Kind of a Blur
  9. java浏览器渲染_优化浏览器渲染
  10. [转载] 中华典故故事(孙刚)——33 人上一百形形色色
  11. 微信小程序入门指南——程序员计算器设计(一)
  12. 《游戏设计艺术》读书笔记02
  13. python操作WPS中Excel练习
  14. 科隆OPTIFLUX2100W/4100C分体式电磁流量计维修
  15. 华为设备无线环境中的Portal认证
  16. Php-fpm没生成sock,PHP-FPM无法生成.sock文件
  17. 同时删除Excel表格中多行隔行空白行
  18. Selenium版本与浏览器版本
  19. 干货 | 这样做轻松复现顶会论文
  20. STM32 使用 ITM 输出调试信息

热门文章

  1. 视通科技分布式大屏同步回放系统:录播新利器 破解全局追溯难题
  2. 基于matlab的卷积码实验报告,基于matlab的卷积码调制
  3. 微缆吹缆机 气吹机 微缆 微管 光缆 电缆敷设----TFN T500W使用方法
  4. 矿山井下IT配电系统的应用
  5. 失去焦点和获得焦点发生事件(js)
  6. 要拥有必先懂失去怎接受——退役了~
  7. 富文本编辑器vue-quill-editor上传图片过大
  8. oracle的url配置说明,Oracle数据库url连接最后一个orcl代表的是配置的数据库SID
  9. asmlinkage
  10. 一文搞懂Kerberos