摘要: </build> <dependencyManagement> <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-dependencies</artifact 阅读全文
posted @ 2025-09-18 15:32 清明雨下 阅读(8) 评论(1) 推荐(0)
摘要: 工作区 暂存区 本地仓库 远程仓库 git add--> >commit push--> git reset --soft Head~1 git reset Head~1 保存变更不提交 阅读全文
posted @ 2025-09-18 15:29 清明雨下 阅读(7) 评论(0) 推荐(0)
摘要: Get-ChildItem -Recurse -Include *.java | Get-Content | Measure-Object -Line 阅读全文
posted @ 2025-09-09 17:24 清明雨下 阅读(22) 评论(0) 推荐(0)
摘要: 1.定位步骤 kubectl top node -n xxx 或者kubectl describe nodes 查看 pod申请资源是否合理 kubectl top pod --containers 会显示容器cpu 内存消耗细节,这个命令每个pod会显示三行 # 示例输出:POD名称 空列 CPU 阅读全文
posted @ 2025-09-05 15:08 清明雨下 阅读(8) 评论(0) 推荐(0)
摘要: 即 dao中不可写多个相同名称的方法 而仅仅参数个数不同 阅读全文
posted @ 2025-08-15 09:37 清明雨下 阅读(6) 评论(0) 推荐(0)
摘要: 使用 kubectl logs -nxxx xxxxxxxx --previous 即可查看上次報錯的日志 阅读全文
posted @ 2025-03-04 09:54 清明雨下 阅读(9) 评论(0) 推荐(0)
摘要: 背景 :快速的update 后select 使用 LambadQueryWrapper 一會16條 一會 10條 判斷 很可能是這種查詢使用了二級緩存導致 直接在dao中使用 @Select("select * from XXX") 跳過二級緩存 阅读全文
posted @ 2025-03-04 09:51 清明雨下 阅读(14) 评论(1) 推荐(0)
摘要: @Configuration @EnableWebSecurity @EnableGlobalMethodSecurity(prePostEnabled = true, securedEnabled = true) public class CorsSecurityConfig extends We 阅读全文
posted @ 2024-10-31 14:00 清明雨下 阅读(18) 评论(0) 推荐(0)
摘要: 情况一、查看deploy 查看资源 kubectl edit deploy xx -nxxxx 修改cpu和mem 查看 使用cpu最高的pod kubectl top pods -nxxxx 查看集群中所有节点的 CPU 和内存使用情况: kubectl top nodes 查看指定节点的 CPU 阅读全文
posted @ 2024-05-21 17:24 清明雨下 阅读(27) 评论(0) 推荐(0)
摘要: NoClassDefFoundError: Could not initialize class org.xerial.snappy.Snappy v.1.1.9.1 阅读全文
posted @ 2024-04-30 16:23 清明雨下 阅读(49) 评论(0) 推荐(0)