Springboot2.x项目,整合swagger文档,加入了离线文档导出,使用到了knife4j

引用完后,启动项目时,报错 信息如下:

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

一脸懵逼中。。。。。

最后解决方法:

1.删除本地 删除这些文件夹

2.然后mvn install再加载下项目 看看哪个被增加进来了。

如果依然没有新进的文件夹,那么 就随机选个版本号依赖。

3.然后 在pom.xml里面加入对应的依赖

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

4.重启解决

springboot启动报错:Add an implementation, such as Hibernate Validator, to the classpath解决方案相关推荐

  1. SpringBoot启动报错Action: Add an implementation, such as Hibernate Validator, to the classpath解决办法

    微服务启动失败报错 在网上找了很长时间尝试了很多办法都没有用,这让我十分烦躁,这Hibernate Validator我根本没用,他报什么错啊,但他又报Add an implementation, s ...

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

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

  3. 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 ...

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

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

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

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

  6. IDEA springboot启动报错java.lang.UnsatisfiedLinkError: no tcnative-1 in java.library.path

    IDEA springboot启动报错: java.lang.UnsatisfiedLinkError: no tcnative-1 in java.library.path: [D:\Java\bi ...

  7. SpringBoot启动报错Could not resolve placeholder ‘XXX.XXX‘ in value

    SpringBoot启动项目时报错: Exception encountered during context initialization - cancelling refresh attempt: ...

  8. springboot启动报错`CommandLineWrapper` is ill-suited for launching apps on Java 9+.

    项目从jdk8升级到jdk11后springboot启动报错,查询多方资料未果 报错信息: `CommandLineWrapper` is ill-suited for launching apps ...

  9. SpringBoot启动报错:org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean

    SpringBoot启动报错:org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean ...

最新文章

  1. 大数据是一座孤单的小岛
  2. 树莓派安装oepncv3.43
  3. Spring-boot 打成jar包后使用外部配置文件
  4. html首页 slider图片切换效果,jQuery插件Slider Revolution实现响应动画滑动图片切换效果...
  5. 【渝粤教育】广东开放大学 社会工作综合能力 形成性考核 (27)
  6. 木马藏身于系统进程中
  7. 解决Hadoop时no namenode to stop异常或则 是 jps中没有namenode
  8. 禅道客户端安装教程(超详细)
  9. Excel中绘制斜线表头
  10. 怎么理解本征无序态的蛋白质(Intrinsically disordered proteins)
  11. 一个女程序员的工作感悟
  12. Java 无限级递归生成树级菜单
  13. 上网本丢失F盘怎么恢复
  14. 京东淘宝天猫API销量接口
  15. python爬虫抢演唱会_Python爬虫告诉你:为什么杨超越不会唱不会跳也能躺赢出道!...
  16. mysql04:数据管理
  17. 个人收藏的一些资源网站
  18. 常见的网页设计布局有哪些?优秀的网页设计都有的8个特点
  19. 求单链表的最大值与原地逆转_数据结构精选考研试题.pdf
  20. 2008入搜狗,见证搜狗浏览器的诞生!说说我在搜狗做测试这些年…

热门文章

  1. CSS秀起来真没JS什么事
  2. AJAX 单页面应用的两种实现思路
  3. matlab 卷积码函数,MATLAB实现卷积码编译码-.doc
  4. 获得焦点与失去焦点事件
  5. COGS 898. [咲 -Saki-] 天才麻将少女什么编
  6. 论文与应用简介:用深度学习设计新的Pokémon角色?(像素风格)
  7. android 提醒,Android 添加提醒事件
  8. 2021-08-19 HTML <form> 标签的 enctype 属性
  9. 实习医生格蕾第十三季/全集Grey’s Anatomy迅雷下载
  10. IOS 内购价格文档