![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
开发中遇到的问题
1024明年
这个作者很懒,什么都没留下…
展开
-
记录下工作mysql出现死锁排查原因,解决思路,mysql innodb死锁检测原理
1,飞书机器人推送报错异常org.springframework.dao.DeadlockLoserDataAccessException: ### Error updating database. Cause: com.mysql.cj.jdbc.exceptions.MySQLTransactionRollbackException: Deadlock found when trying to get lock; try restarting transaction### The error m原创 2021-11-18 13:54:22 · 1273 阅读 · 0 评论 -
记录一下执行xxl定时任务超时导致线程池RejectedExecutionException
记录线程池打满异常由于优惠券到期提醒定时任务系统会每天9点去查询提前一天过期的优惠券,java.util.concurrent.RejectedExecutionException: Task com.xxl.job.admin.core.thread.JobTriggerPoolHelper$3@3911ea7d rejected from java.util.concurrent.ThreadPoolExecutor@341c352f[Running, pool size = 200, ac原创 2021-08-19 17:27:18 · 2084 阅读 · 4 评论 -
记录一下工作中遇到的bug
基本数据类型不能设置为null当其中一个值为null时还赋值给它就会报错 List<CouponGoodsVo> handlerRecords = records.stream().filter(i -> goodsSkuMap.containsKey(i.getSkuId())).map(p -> { GoodsSkuResponse response = goodsSkuMap.get(p.getSkuId());原创 2021-07-21 17:52:58 · 104 阅读 · 0 评论 -
记录一下springboot封装前台接口localdatetime
记录一下springboot封装前台接口localdatetime在公司做项目的时候发现前台传字符串“2021-04-12 12:00:00”字符串时,后台使用localdatetime接收,报错org.springframework.http.converter.HttpMessageNotReadableException: Invalid JSON input: Cannot deserialize value of type `java.time.LocalDateTime` from Str原创 2021-04-12 21:04:15 · 210 阅读 · 0 评论