会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
zhuoneng
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
下一页
2023年12月11日
IDEA -> 回滚上一次commit还没push的代码
摘要: 想撤回上次commit就在To Commit栏输入HEAD~1,撤回前两次就是2,依次类推
阅读全文
posted @ 2023-12-11 16:49 能。
阅读(131)
评论(0)
推荐(0)
2023年12月5日
EasyExcel 导出的时候转换中文
摘要:
阅读全文
posted @ 2023-12-05 18:28 能。
阅读(67)
评论(0)
推荐(0)
2023年11月30日
swagger - NullPointerException
摘要: java.lang.NullPointerException: null at springfox.documentation.swagger2.mappers.RequestParameterMapper.bodyParameter(RequestParameterMapper.java:264)
阅读全文
posted @ 2023-11-30 13:39 能。
阅读(241)
评论(0)
推荐(0)
2023年11月10日
工具类里面引入nacos变量
摘要: private static WjyConfiguration WjyConfiguration;static { WjyConfiguration = SpringApplicationContext.getBean(WjyConfiguration.class);}private static
阅读全文
posted @ 2023-11-10 17:06 能。
阅读(54)
评论(0)
推荐(0)
Nacos 配置变量写法
摘要: @Data@Configuration@RefreshScope@ConfigurationProperties(prefix = "enterprise.remind")public class EnterpriseRemindConfiguration { /** * 余额提醒 短信模版id *
阅读全文
posted @ 2023-11-10 16:46 能。
阅读(88)
评论(0)
推荐(0)
2023年11月9日
jackson序列化 has to be escaped using backslash to be included in string value
摘要: Jackson配置转义符的处理 // 忽略未知字段mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES,false);// 允许出现特殊字符和转义符mapper.configure(JsonParser.Feature.
阅读全文
posted @ 2023-11-09 17:03 能。
阅读(254)
评论(0)
推荐(0)
2023年10月31日
Redis+lua脚本实现接口限流
摘要: /** * @author neng * @description 自定义限流注解 * @date 2020/4/8 13:15 */ @Target({ElementType.METHOD, ElementType.TYPE}) @Retention(RetentionPolicy.RUNTIME
阅读全文
posted @ 2023-10-31 16:54 能。
阅读(24)
评论(0)
推荐(0)
2023年10月27日
多模块mvn构建Unable to find main class
摘要: 多子模块构建 非核心启动类 <build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <configuration>
阅读全文
posted @ 2023-10-27 13:57 能。
阅读(19)
评论(0)
推荐(0)
2023年10月26日
监测工具-Arthas-JVM调优过程
摘要: 1.启动Arthascurl -O https://arthas.aliyun.com/arthas-boot.jar java -jar arthas-boot.jar2.选择检测java程序3.查看dashboard 4.thread 进程号 查看 线程堆栈信息 5.jad反编译代码 6.导出d
阅读全文
posted @ 2023-10-26 16:41 能。
阅读(37)
评论(0)
推荐(0)
redis - bitmap 使用
摘要: 1.设置bitmap setbit key 0 1 setbit key 3 1 setbit key 5 1 ->0,3,5为偏移量 ->二进制 100101 2.BITCOUNT:统计被设置的二进制位数量
阅读全文
posted @ 2023-10-26 15:21 能。
阅读(18)
评论(0)
推荐(0)
上一页
1
2
3
4
下一页
公告