异常报错解决
文章平均质量分 58
分享个人开发中的遇到的bug解决办法
识你老鼠
好好学习,天天向上
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
mybatis-plus-generator代码生成使用freemarker模板生成问题
For "${...}" content: Expected a string or something automatically convertible to string (number, date or boolean), or "template output" , but this has evaluated to an extended_hash (wrapper: f.t.SimpleHash):原创 2022-10-01 17:12:59 · 1550 阅读 · 0 评论 -
springboot2.6.3读取不到nacos上的配置文件
最近在用比较新的spring cloud alibaba版本写一个demo项目,springboot用的是2.6.3版本,然后发现跟我们之前用的springboot2.3.7版本多了一些配置。刚开始我以为是springboot和spring cloud alibaba组件版本出现兼容问题,因为我搭建项目的时候是去过spring cloud alibaba的github官方文档中选择对应的框架版本的。然后就百度了一下,翻了一翻一些博客,发现果然是springboot2.6.3的配置要比2.3.7的要多一点。原创 2022-09-21 03:53:04 · 9165 阅读 · 1 评论 -
redisTemplate+lua脚本实现分布式锁报错:@user_script:1: ERR value is not an integer or out of range
.执行的Lua脚本if redis.call('setNx', KEYS[1], ARGV[1]) == 1 then redis.call('expire', KEYS[1],ARGV[2]) return 1 else return 0 end以上脚本意思为 如果创建key成功则给当前key设置存活时间,存活时间设置成功则返回1,创建key或者设置存活时间失败则返回0。工具类代码import java.security.MessageDigest;import java原创 2022-01-04 13:13:11 · 3210 阅读 · 0 评论 -
com.alibaba.fastjson.JSONException: write javaBean error, fastjson version 1.2.75, class com.signatu
com.alibaba.fastjson.JSONException: write javaBean error, fastjson version 1.2.75, class com.signature.pc.config.WebAppHttpServletRequestWrapper, method : getAsyncContext at com.alibaba.fastjson.serializer.JavaBeanSerializer.write(JavaBeanSerializer.java:原创 2021-11-12 10:11:59 · 7382 阅读 · 3 评论 -
data: “org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Cannot
09:06:12.163 [http-nio-9207-exec-6] ERROR c.s.p.c.GlobalExceptionHandler - [exceptionHandler,90] - 发生其他异常,原因是;{}org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Cannot deserialize instance of `java.lang.String` out of原创 2021-11-12 09:23:21 · 3790 阅读 · 0 评论
分享