微服务启动失败报错

在网上找了很长时间尝试了很多办法都没有用,这让我十分烦躁,这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. 获得汉字字符串拼音首字母
  2. JFace中的表格型树TableTreeViewer
  3. 鸿蒙开发-基础组件介绍及chart组件使用
  4. Django中示例验证码的实现总结
  5. 计算机硬件故障处理及维护,计算机硬件故障处理与维护方法
  6. ITIL 4和DevOps的关系?
  7. sql按照字符串格式拼接
  8. 《Celeste》 开发者是如何精心制作“冲刺”的
  9. Tableau仪表板搭建
  10. 842计算机基础考试大纲,(842)考试大纲-计算机专业基础.docx
  11. selenium.common.exceptions.SessionNotCreatedException浏览器版本不匹配报错
  12. pytorch中的一维数组,是列向量还是行向量?
  13. 老男孩-筷子兄弟(歌词)
  14. 推荐几本学习Go语言的书
  15. android手机进入fastboot,安卓手机进入Fastboot模式的多种操作方法
  16. python爬取收费素材_Python爬虫练习:爬取素材网站数据
  17. asp.net 隐藏url 简便方法
  18. 数据结构与算法(Python)【PKU MOOC】
  19. Pixelmator Pro For Mac图像处理软件V2.0.6下载地址
  20. 数据库数据更新(insert、update、delete)

热门文章

  1. c语言 ioctl,ioctl() fcntl() setsockopt() ioctlsocket() 用法
  2. oracle数据库的吞吐量,Oracle 吞吐量角度提升数据库整体性能
  3. 孙美琪疑案朗威计算机密码,孙美琪疑案朗威攻略4级线索中全面分析 孙美琪疑案郎威攻略4级线索全讲解...
  4. 0x80070570,文件或目录损坏且无法读取
  5. 图像分析技术大比拼:图像分类、图像识别、目标检测的优缺点分析与算法比较
  6. 字符串C++的封装CString
  7. enctype 属性
  8. 缘起:BigTable
  9. Javadoc注释编写入门
  10. 【spring框架28】spring之packagesToScan