摘要: 引入 jedis <!-- https://mvnrepository.com/artifact/redis.clients/jedis --> <dependency> <groupId>redis.clients</groupId> <artifactId>jedis</artifactId> 阅读全文
posted @ 2021-03-07 02:56 朱思年 阅读(330) 评论(0) 推荐(0) 编辑
摘要: windows 杀死端口占用进程 查找使用8080端口的进程 netstat -ano |findstr "8080" 杀死该进程 tasklist |findstr "8504" 阅读全文
posted @ 2021-02-06 13:07 朱思年 阅读(71) 评论(0) 推荐(0) 编辑
摘要: 在管理员cmd输入以下命令 强制结束该卷所有句柄: chkdsk D: /f 阅读全文
posted @ 2020-10-28 18:49 朱思年 阅读(367) 评论(0) 推荐(0) 编辑
摘要: 找之前的jar线程kill掉! ps -ef|grep xxx.jar|grep -v grep 启动 nohup java -jar xxxx.jar --spring.profiles.active=prod >msg.log 2>&1 & -u 代表程序不启用缓存,也就是把输出直接放到log中 阅读全文
posted @ 2020-06-24 14:06 朱思年 阅读(386) 评论(0) 推荐(0) 编辑
摘要: contos 1 修改/etc/my.cnf 文件[mysqld] skip-name-resolve2 重启mysql服务service mysqld restart 阅读全文
posted @ 2020-06-15 23:48 朱思年 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 手机号:/^1(3|4|5|7|8)\d{9}$/ 两位小数(正): /^(([1-9][0-9]*)|(([0]\.\d{1,2}|[1-9][0-9]*\.\d{1,2})))$/ 阅读全文
posted @ 2020-03-19 17:29 朱思年 阅读(165) 评论(0) 推荐(0) 编辑
摘要: @Select("select * from tb_test as test left join tb_test1 as test1 ${ew.customSqlSegment}") //${ew.customSqlSegment} 吧wrapper条件拼接在sql上 IPage<CompanyTa 阅读全文
posted @ 2020-03-19 17:07 朱思年 阅读(8172) 评论(0) 推荐(1) 编辑
摘要: 本文参照:https://blog.csdn.net/qq_43232506/article/details/102816659 • 安装mysql及依赖 dnf install @mysql • 启动mysql服务并使它在启动时自动启动 sudo systemctl enable --now my 阅读全文
posted @ 2020-02-25 22:10 朱思年 阅读(607) 评论(0) 推荐(0) 编辑
摘要: • application.yml server: port: 8082 spring: application: name: upload servlet: multipart: max-file-size: 5MB • uploadController.java import org.apach 阅读全文
posted @ 2020-02-25 14:54 朱思年 阅读(1524) 评论(0) 推荐(0) 编辑
摘要: import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.web.cors.C 阅读全文
posted @ 2020-02-24 19:33 朱思年 阅读(512) 评论(0) 推荐(0) 编辑