- 博客(79)
- 资源 (2)
- 收藏
- 关注
原创 K8S知识点
通过kubectl describe pod <pod-name> 命令,你可以获取关于特定Pod的详细信息,包括其状态、事件历史、容器状态、资源使用情况。使用kubectl get pod <pod-name> -o yaml命令,你可以以YAML格式查看Pod的完整配置和状态信息。查看最近一小时内的日志中的错误信息: kubectl logs my-pod --since=1h | grep "error"查看最近一分钟内的日志中的信息: kubectl logs my-pod --since=1m。
2025-01-24 15:21:12
593
原创 springboot上传文件提示The field file exceeds its maximum permitted size of 1048576 bytes
springboot上传文件提示The field file exceeds its maximum permitted size of 1048576 bytes
2024-12-30 19:13:04
319
原创 sourceTree提交代码到github出现remote: Invalid username or password.
sourceTree提交代码到github出现remote: Invalid username or password.
2024-12-20 10:46:48
316
原创 上传文件nginx 413 Request Entity Too Large
上传文件nginx 413 Request Entity Too Large
2024-12-01 15:44:04
353
原创 tomcat启动程序报java.lang.AbstractMethodError错误
tomcat启动程序报java.lang.AbstractMethodError错误
2024-08-14 10:23:30
372
原创 elasticsearch启动报initial heap size [1073741824] not equal to maximum heap size [2147483648];
elasticsearch启动报initial heap size [1073741824] not equal to maximum heap size [2147483648];
2024-01-12 15:27:17
940
原创 golang 反序列化出现json: cannot unmarshal string into Go value of type model.Phone
golang 反序列化出现json: cannot unmarshal string into Go value of type
2024-01-11 17:39:32
2635
2
原创 elasticsearch查询出现Limit of total fields 1000 has been exceeded
elasticsearch查询出现Limit of total fields 1000 has been exceeded
2023-12-13 18:35:48
2416
原创 Could not resolve placeholder ‘mail.sender‘ in value “${mail.sender}“
偶然一次使用@Value来给参数设置初始化值(如下),但是项目启动一直报错:Could not resolve placeholder 'mail.sender' in value "${mail.sender}"经过一顿排查,原因是需要对@Value里的参数设置默认值,最简单的写法加上“:”即可。核对了application.yml配置,确认配置无误。
2023-11-13 22:51:13
444
原创 mongodb插入数据报Cannot create namespace testk2 in multi-document transaction
问题现象:当向mongodb插入数据报Cannot create namespace testk2 in multi-document transaction。原因分析:检查发现要插入的集合collection不存在,经搜索资料发现,在一个事务中,要操作的集合必须要先存在,事务不能在不存在的集合上进行相关操作。所以,问题原因就是要先把这个集合创建,然后再插入对应数据;
2023-10-31 09:39:36
329
原创 golang编译出现syscall.go:84:16: undefined: unsafe.Slice
golang编译出现syscall.go:84:16: undefined: unsafe.Slice
2023-03-20 17:52:20
2852
原创 form表单传参有空的时间参数时出现异常org.springframework.validation.BeanPropertyBindingResult: 1 errors
form表单传参有空的时间参数时出现异常org.springframework.validation.BeanPropertyBindingResult: 1 errors
2023-03-18 19:24:53
525
原创 maven编译项目时出现Invalid packaging for parent POM,must be pom but is_jar
maven编译项目时出现Invalid packaging for parent POM,must be pom but is_jar
2023-02-04 16:57:32
2902
1
原创 es(elasticsearch)查询数据出现异常Result window is too large, from + size must be less than or equal to
es(elasticsearch)查询数据出现异常Result window is too large, from + size must be less than or equal to
2023-02-02 19:43:08
1467
原创 执行mongostat命令查看出现using mechanism “SCRAM-SHA-1“: (AuthenticationFailed) Authentication failed.
执行mongostat命令查看出现using mechanism "SCRAM-SHA-1": (AuthenticationFailed) Authentication failed.
2023-01-10 17:31:46
2086
转载 免安装版mysql自动建立my.ini和命令行启动并动态指定datadir路径
免安装版mysql自动建立my.ini和命令行启动并动态指定datadir路径
2023-01-01 22:26:47
568
原创 golang读取mongodb数据出错:invalid character ‘Ì‘ looking for beginning of value
golang读取mongodb数据出错:invalid character ‘Ì‘ looking for beginning of value
2023-01-01 22:24:06
1042
原创 linux中执行.sh文件出现/bin/sh^M: bad interpreter: No such file or directory
linux中执行.sh文件出现/bin/sh^M: bad interpreter: No such file or directory
2022-12-05 15:58:24
714
原创 mysql启动报错:Starting MySQL.The server quit without updating PID file (/[FAILED]ql/data/mysql.pid)
mysql启动报错:Starting MySQL.The server quit without updating PID file (/[FAILED]ql/data/mysql.pid)
2022-12-03 09:46:02
3073
1
原创 mongo执行命令: not authorized on admin to execute command
mongo执行命令: not authorized on admin to execute command
2022-11-30 21:50:57
2511
转载 ES启动异常:the default discovery settings are unsuitable for production use; at least...
ES启动异常:the default discovery settings are unsuitable for production use; at least...
2022-11-30 21:38:17
4020
原创 npm 安装包时报错 npm install rollbackFailedOptional: verb npm-session 解决办法
npm 安装包时报错 npm install rollbackFailedOptional: verb npm-session 解决办法
2022-11-18 19:24:19
777
1
支持最新eclipse的fatjar插件
2024-02-06
elasticsearch5、elasticsearch6、elasticsearch7未授权解决方案
2022-11-08
适配达梦数据库的activiti流程引擎主要jar包(activiti-engine-7.1.0.M3.1.jar已修改源码)
2022-02-15
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人