- 博客(162)
- 收藏
- 关注
原创 git报错 error: cannot lock ref ‘refs/remotes/origin/master‘: unable to resolve reference ‘refs/remote
没有办法锁定远程分支origin/master,无法解析和远程分支origin/maste的关联,引用被破坏了。执行:rm .git/refs/remotes/origin/master。执行: git gc --prune=now。拉取代码前,电脑曾经强制重启了。然后执行:git fetch。
2023-11-29 20:37:56
2937
原创 redis 取值报错 “WRONGTYPE Operation against a key holding the wrong kind of value“
如果值是有序集合-> ZRANGEBYSCORE 如果值是列表-> lrange 如果值的类型为hash-> HGETALL 如果值是集合-> smembers 如果值的类型为字符串-> GET Redis对于每种数据类型检索命令是不同的。
2023-10-30 19:23:11
403
原创 Mysql 修改root密码报错 You have an error in your SQL syntax; check the manual that corresponds to your ...
Mysql 修改root密码报错 You have an error in your SQL syntax; check the manual that corresponds to your ...
2023-08-01 16:25:54
578
原创 SQL运行报错:java.sql.SQLException: sql injection violation, syntax error: syntax error, expect ‘)‘, pos
sql运行报错:java.sql.SQLException: sql injection violation, syntax error: syntax error, expect ')', pos
2023-02-24 15:49:43
4013
原创 Java Stream 的遍历/筛选/去重/统计/求和/平均值/排序/累计/跳过
Java Stream 的遍历/筛选/去重/统计/求和/平均值/排序/累计/跳过
2023-01-09 11:40:57
6015
原创 @ControllerAdvice 与 @RestControllerAdvice
@ControllerAdvice 与 @RestControllerAdvice
2022-09-30 09:58:35
4463
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人