摘要:
springboot 使用 hikaricp 高性能连接池 阅读全文
摘要:
springboot json 异常统一处理,自定义异常处理 阅读全文
摘要:
idea 将 springboot 项目打包成 jar 阅读全文
摘要:
springboot 定时任务 阅读全文
摘要:
参考:http://www.fengyunxiao.cn 1. application.properties 中添加值 2. controller中注入该值,并在方法中输出 3. 打开浏览器访问 参考:http://www.fengyunxiao.cn 阅读全文
摘要:
1. 创建新项目 2. 选择jdk等信息,默认从 start.spring.io 下载项目,下一步 3. 填写项目信息(需要先配置好Maven),下一步 4. 选择spring boot 版本,选择web依赖,下一步 5. 选择项目保存路径,完成 6. 等待maven下载对应jar,基本目录如下 7 阅读全文
摘要:
今天网站突然打开很慢,排查发现是一个表获取数据很慢。再仔细排查,发现这个表被锁住了。 // 首先查看所有连接,并且带有详细的 lock 原因。找到 lock 的进程 id SHOW PROCESSLIST; // 使用 kill 杀掉该进程 kill 52402; 杀掉进程后,还会有该情况发生,于是 阅读全文
摘要:
tomcat 开启 https 使用apr 阅读全文
摘要:
XStream 1.4.10 警告: Security framework of XStream not initialized, XStream is probably vulnerable 阅读全文