springboot启动报错:Add an implementation, such as Hibernate Validator, to the classpath解决方案
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解决方案相关推荐
- SpringBoot启动报错Action: Add an implementation, such as Hibernate Validator, to the classpath解决办法
微服务启动失败报错 在网上找了很长时间尝试了很多办法都没有用,这让我十分烦躁,这Hibernate Validator我根本没用,他报什么错啊,但他又报Add an implementation, s ...
- Add an implementation, such as Hibernate Validator, to the classpath
解决:删除本地maven仓库下,hibernate-validator文件夹下的所有文件.
- 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 ...
- SpringBoot启动报错:Parameter 0 of method hmset in com.qcby.rbac.util.RedisUtils required a bean of type
SpringBoot启动报错,报错信息如下: 报错是由于A类中定义了含参数的构造函数,Spring自动构造和注入时未为该Bean传入参数,引起报错. 查了很多资料,最后发现,我是因为注释的时候没有把@ ...
- 启动Spring项目报错,Springboot启动报错 Disconnected from the target VM 解决过程
启动Spring项目报错,Springboot启动报错 Disconnected from the target VM 解决过程 大概率是缺少了一下依赖 <dependency><g ...
- 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 ...
- SpringBoot启动报错Could not resolve placeholder ‘XXX.XXX‘ in value
SpringBoot启动项目时报错: Exception encountered during context initialization - cancelling refresh attempt: ...
- springboot启动报错`CommandLineWrapper` is ill-suited for launching apps on Java 9+.
项目从jdk8升级到jdk11后springboot启动报错,查询多方资料未果 报错信息: `CommandLineWrapper` is ill-suited for launching apps ...
- SpringBoot启动报错:org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean
SpringBoot启动报错:org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean ...
最新文章
- 大数据是一座孤单的小岛
- 树莓派安装oepncv3.43
- Spring-boot 打成jar包后使用外部配置文件
- html首页 slider图片切换效果,jQuery插件Slider Revolution实现响应动画滑动图片切换效果...
- 【渝粤教育】广东开放大学 社会工作综合能力 形成性考核 (27)
- 木马藏身于系统进程中
- 解决Hadoop时no namenode to stop异常或则 是 jps中没有namenode
- 禅道客户端安装教程(超详细)
- Excel中绘制斜线表头
- 怎么理解本征无序态的蛋白质(Intrinsically disordered proteins)
- 一个女程序员的工作感悟
- Java 无限级递归生成树级菜单
- 上网本丢失F盘怎么恢复
- 京东淘宝天猫API销量接口
- python爬虫抢演唱会_Python爬虫告诉你:为什么杨超越不会唱不会跳也能躺赢出道!...
- mysql04:数据管理
- 个人收藏的一些资源网站
- 常见的网页设计布局有哪些?优秀的网页设计都有的8个特点
- 求单链表的最大值与原地逆转_数据结构精选考研试题.pdf
- 2008入搜狗,见证搜狗浏览器的诞生!说说我在搜狗做测试这些年…