会员
T恤
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
荒野猛兽
博客园
首页
新随笔
联系
管理
订阅
2025年3月28日
mybatis引用其他xml文件中的SQL片段
摘要: 普通引用本xml中的SQL片段: <include refid="xxxSql"/> 引用其他xml中的SQL片段: <include refid="com.xx.xxx.xxx.xxx.dao.xxxMapper.xxxSql"/> 区别就是要带上被引用xml的namespace,可以把xml比喻
阅读全文
posted @ 2025-03-28 10:18 荒野猛兽
阅读(42)
评论(0)
推荐(0)
2025年1月8日
doris查询报错missing from GROUP BY clause?
摘要: 在聚合查询时,查询的列表字段不在group by的分组字段中时,就会报这个错,可以使用ANY_VALUE(expr) AS expr的方式包裹不分组的列字段 举个栗子: SELECT record_id, seller_id FROM sales_records GROPU BY record_id
阅读全文
posted @ 2025-01-08 14:44 荒野猛兽
阅读(90)
评论(0)
推荐(0)
2024年12月27日
使用Guava-RateLimiter,实现限制调用第三方的QPS
摘要: <!--QPS--><dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>18.0</version></dependency> package com.example.dem
阅读全文
posted @ 2024-12-27 11:55 荒野猛兽
阅读(12)
评论(0)
推荐(0)
2024年5月8日
Jenkins发版时报错Failed to instantiate [io.seata.spring.annotation.GlobalTransactionScanner]
摘要: Failed to instantiate [io.seata.spring.annotation.GlobalTransactionScanner]: Factory method 'globalTransactionScanner' threw exception; nested excepti
阅读全文
posted @ 2024-05-08 09:32 荒野猛兽
阅读(230)
评论(0)
推荐(0)
2024年4月19日
git升级后(2.44.0)使用ssh克隆项目提示要输入密码,且怎么输都不对
摘要: 如下在 ~/.ssh/ 目录下新增config文件,然后在 ~/.ssh/config 中新增:Host *PubkeyAcceptedKeyTypes +ssh-rsaHostKeyAlgorithms +ssh-rsa 新版本git不支持rsa算法了 原因是新版本git默认不使用rsa算法生成的
阅读全文
posted @ 2024-04-19 16:04 荒野猛兽
阅读(84)
评论(0)
推荐(0)
2023年12月4日
Disconnected from the target VM, address: '127.0.0.1:5954', transport: 'sock
摘要: 一直能正常运行的本地项目,在IDEA中突然跑不起来 解决步骤: 给application启动类的run方法加上try-catch 打印日志为Failed to determine a suitable driver class,说是数据源有问题 实则是IDEA抽风了 1.尝试删除idea缓存重启In
阅读全文
posted @ 2023-12-04 10:45 荒野猛兽
阅读(313)
评论(0)
推荐(0)
2022年5月11日
Linux撤销解压
摘要: 解压时没有指定文件夹,导致压缩包的文件在当前文件夹散落一地,还好有后悔药 摘自https://blog.csdn.net/wzt_gjt/article/details/89264262 撤销zip解压zipinfo -1 path/xx.zip | xargs rm -rf 撤销tar解压 tar
阅读全文
posted @ 2022-05-11 10:21 荒野猛兽
阅读(1424)
评论(0)
推荐(0)
2022年4月8日
vim批量替换+查找下一个
摘要: 转自:https://blog.csdn.net/weixin_49129782/article/details/113886941vim批量替换命令实践 语法为 :[addr]s/源字符串/目的字符串/[option] 全局替换命令为: :%s/源字符串/目的字符串/g vim打开文件后: 1.按
阅读全文
posted @ 2022-04-08 14:06 荒野猛兽
阅读(1605)
评论(0)
推荐(0)
2022年3月29日
申请QQ企业开发者,提交表单报错:注册失败!注册失败 [errcode:10456:0]
摘要: 腾讯社区开放平台 您好,请您这边在开放平台编辑修改的,腾讯开放平台的开发者账号资质跟QQ互联的开发者资质是互通的,您提交审核,资质审核时间是工作日24小时,请您留意审核结果。开放平台:https://app.open.qq.com/p/developer/reg 腾讯社区开放平台 客服解答,换个地儿
阅读全文
posted @ 2022-03-29 10:58 荒野猛兽
阅读(218)
评论(0)
推荐(0)
2022年3月26日
Ubuntu18.04配置Nginx做账号密码校验
摘要: 参考:https://www.cnblogs.com/faberbeta/p/nginx001.html https://www.lzys.cc/p/1818837.html #安装加密工具 sudo apt install apache2-utils #指定位置生成加密文件,并设置自定义账号(ad
阅读全文
posted @ 2022-03-26 14:26 荒野猛兽
阅读(166)
评论(0)
推荐(0)
下一页
公告
<
2025年4月
>
日
一
二
三
四
五
六
30
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
1
2
3
4
5
6
7
8
9
10
点击右上角即可分享