![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
记录报错解决办法
想吃米豆腐
足够的量变,才能达到质的飞跃。
展开
-
java.lang.IllegalArgumentException: firstMovedIndex, lastMovedIndex out of order
使用easypoi导出报错java.lang.IllegalArgumentException: firstMovedIndex, lastMovedIndex out of order解决方法@GetMapping("/exportName")public void exportName(HttpServletResponse response) throws IOException { String resource = Objects.requireNonNull(JeecgSys原创 2021-12-24 09:55:56 · 2166 阅读 · 1 评论 -
日期转换异常:JSON parse error:Cannot deserialize value of type `java.util.Date` from String “2021-1-1”
【ERROR】日期转换异常:JSON parse error报错如下:JSON parse error: Cannot deserialize value of type `java.util.Date` from String "2021-12-11": not a valid representation (error: Failed to parse Date value '2021-12-11': Unparseable date: "2021-12-11"); nested excepti原创 2021-12-07 11:22:39 · 4574 阅读 · 1 评论 -
ElasticSearc创建索引报错:“root_cause“: [ { “type“: “resource_already_exists_ex
ElasticSearc创建索引报错:{ "error": { "root_cause": [ { "type": "resource_already_exists_exception", "reason": "index [shopping/rOncXIsQQjacZrKHNvDp8w] already exists", "index_uuid": "rOncX原创 2021-10-26 11:07:15 · 7666 阅读 · 0 评论 -
SpringBoot启动失败:BeanDefinitionStoreException: Failed to read candidate component class
报错信息如下:org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: URL [jar:file:/E:/Y1/%e5%b7%a5%e5%85%b7/Maven/jar/org/springframework/boot/spring-boot-autoconfigure/2.5.5/spring-boot-autoconfigure-2.5.5.jar原创 2021-10-18 10:52:48 · 6213 阅读 · 0 评论 -
redis-server闪退解决办法
运行redis-server的时候闪退解决办法:1、找到redis的根目录输入cmd 或者win+R cmd进入redis目录2、输入redis-server.exe redis.windows.conf查看运行状态redis-server.exe redis.windows.conf发现报错:[15716] 14 Oct 10:03:23.882 # Creating Server TCP listening socket *:6379: bind: No error翻译:[1原创 2021-10-14 10:27:08 · 1702 阅读 · 0 评论 -
No Feign Client for loadBalancing defined. Did you forget to include spring-cloud-starter-loadbalan
No Feign Client for loadBalancing defined. Did you forget to include spring-cloud-starter-loadbalancer?翻译为:没有为loadBalancing定义佯装客户端。你是不是忘了包含spring-cloud-starter-loadbalancer?解决办法:导入loadbalancer依赖即可!!!!! <dependency> <groupId&g原创 2021-10-11 16:53:33 · 371 阅读 · 0 评论 -
idea创建spring项目时,yml文件没有小叶子了。
创建spring项目时,yml文件没有小叶子了。而是变成了文本文件的格式。(如下)解决办法:1、点击设置2、点击编辑器---->找到文件类型----->选择文本文件------->将application.yml删除点击确认即可最后:...原创 2021-10-10 19:50:09 · 2168 阅读 · 3 评论 -
DevTools 无法加载源映射: 无法加载http://localhost:8081/statics/css/bootstrap.min.css.map 的内容:HTTP 错误: 状态代码 404,
DevTools 无法加载源映射: 无法加载http://localhost:8081/statics/css/bootstrap.min.css.map 的内容:HTTP 错误: 状态代码 404,net::ERR_HTTP_RESPONSE_CODE_FAILURE以上报错:解决办法:找到bootstrap.min.css,删除最后一行注释注意:如果是css报错就删除:/*# sourceMappingURL=bootstrap.min.css.map */ 如果是js报错就删除:原创 2021-09-18 14:50:34 · 42537 阅读 · 20 评论 -
Error starting ApplicationContext. To display the conditions report re-run your application with ‘de
翻译过来就是:启动ApplicationContext时出错。要显示条件报告,请在启用“调试”的情况下重新运行应用程序。如下图:解决办法:1、这个是一个mybatis-plus+springboot 吗?2、是的话 请检查实体类中 是否有**@TableField注解**3、有这个注解的话 检查一下 xml文件中是否有如下resultMap解决办法:将xml中自动生成的resultmap 那一段删除!!!!!因为实体中的注解已经指向了数据库,xml中再有resultmap 也是指向数原创 2021-09-17 12:11:08 · 6418 阅读 · 0 评论