09 2022 档案

摘要:一个@Configuration类,启动类没有添加路径扫描,但是自动执行了代码,后排查是配置了,EnableAutoConfiguration配置 # Auto Configure org.springframework.boot.autoconfigure.EnableAutoConfigurat 阅读全文
posted @ 2022-09-30 17:40 小小的流星 阅读(58) 评论(0) 推荐(0) 编辑
摘要:脚本执行sed命令时不生效 sed -i 's/apple/mac/g' full-path-file 执行后报错,“sed: 1: command a expects \ followed by text” 由于mac系统与linux系统下sed用法的差异,下面给出两种解决方案 (差异可自己在两个 阅读全文
posted @ 2022-09-14 17:55 小小的流星 阅读(381) 评论(0) 推荐(0) 编辑
摘要:使用正则匹配:replaceAll("(?i)bearer ","")); 阅读全文
posted @ 2022-09-01 09:49 小小的流星 阅读(136) 评论(0) 推荐(0) 编辑