会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
白玉神驹
专注、认真、执着!
博客园
首页
新随笔
管理
上一页
1
···
29
30
31
32
33
34
35
36
37
···
46
下一页
2021年6月29日
com.alibaba.fastjson.JSONArray cannot be cast to XX
摘要: PushData<Menu[]> pushData = FastJSONUtil.parsePojo(message, PushData.class); List<Menu> menuList= JSONArray.parseArray(JSON.toJSONString(pushData.getD
阅读全文
posted @ 2021-06-29 17:37 白玉神驹
阅读(868)
评论(0)
推荐(0)
2021年6月22日
rocketmq消费不到消息排查
摘要: 1. 从消费者角度看首先排查是否订阅 topic 2. 是否扫包:
阅读全文
posted @ 2021-06-22 14:19 白玉神驹
阅读(639)
评论(0)
推荐(0)
The Checkstyle rules file could not be parsed.
摘要: 今天重新拉了项目,提交代码时候checkstyle项目: 原因:checkstyle插件版本问题 解决:修改版本8.1以下即可 checkstyle的使用:
阅读全文
posted @ 2021-06-22 10:42 白玉神驹
阅读(1890)
评论(0)
推荐(0)
2021年6月1日
redis心跳日志【i.l.core.protocol.ConnectionWatchdog : Reconnecting, last destination was】
摘要: [io.lettuce.core.protocol.ConnectionWatchdog:106]-- Reconnecting, last destination was 看了很多文章,最后已解决 在配置文件中配置指定包的 日志打印级别为error即: 我们项目用的是springcloud + n
阅读全文
posted @ 2021-06-01 10:38 白玉神驹
阅读(5010)
评论(0)
推荐(1)
2021年5月26日
idea本身项目是好得突然有个类是红得不影响运行
摘要: 清理缓存并重启即可。
阅读全文
posted @ 2021-05-26 19:04 白玉神驹
阅读(276)
评论(0)
推荐(0)
2021年5月19日
关于@Scheduled cron表达式中不支持每月最后一天`L`的解决方案
摘要: 解决方案: @Scheduled(cron = "0 0 10 28-31 * ?")//每月最后一天10点执行 private void configureTasks(){ boolean flag = false; final Calendar calendar = Calendar.getIn
阅读全文
posted @ 2021-05-19 15:29 白玉神驹
阅读(3919)
评论(0)
推荐(0)
2021年5月12日
Java中byte转为二进制并补码
摘要: byte tByte = 2; String str = Integer.toBinaryString(tByte); String tString = Integer.toBinaryString((tByte & 0xFF) + 0x100).substring(1); System.out.p
阅读全文
posted @ 2021-05-12 14:26 白玉神驹
阅读(1459)
评论(0)
推荐(0)
数组与list的转换
摘要: 数组转list 常用分为int[]类型,String[]类型和Integer[]类型 int[] arr 数组转 list List<Integer> listRes = Arrays.stream(arr).boxed().collect(Collectors.toList()); String[
阅读全文
posted @ 2021-05-12 09:35 白玉神驹
阅读(2805)
评论(0)
推荐(0)
2021年4月30日
用idea修改git分支
摘要: 背景:版本发布后,旧的分支要改个名字feature-pay-demo-3.3 修改为feature-pay-demo-3.4并删除原分支 1. 修改本地分支名字为 feature-pay-demo-3.4 2. 删除远程分支名字 origin/feature-pay-demo-3.3 3. 推送本地
阅读全文
posted @ 2021-04-30 14:08 白玉神驹
阅读(1826)
评论(0)
推荐(0)
2021年4月26日
http工具类(传统交互)-springCloud(微服务)中调用第三方见下篇
摘要: package com.cmcc.ac.health.pay.util.http; import org.apache.http.Consts; import org.apache.http.HttpEntity; import org.apache.http.HttpStatus; import
阅读全文
posted @ 2021-04-26 21:54 白玉神驹
阅读(343)
评论(0)
推荐(0)
上一页
1
···
29
30
31
32
33
34
35
36
37
···
46
下一页
公告