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