摘要: 资料网站:http://learning.happymmall.com/env.html 一、mybatis三剑客:generator,plugin,pagehelper pagehelper->https://github.com/pagehelper/Mybatis-PageHelper 二、s 阅读全文
posted @ 2023-08-03 16:56 咔咔皮卡丘 阅读(106) 评论(0) 推荐(0)
摘要: 1、restful+SpringMVC+form表单: 1.1 由于form表单只支持method=post或者method=get,对于delete及put,可以 a. 添加过滤器HiddenHttpMethodFilter; b. 在form中添加<input type="hidden" nam 阅读全文
posted @ 2023-08-03 15:56 咔咔皮卡丘 阅读(19) 评论(0) 推荐(0)
摘要: 1、lombok工具 1.1、依赖 groupId:org.projectlombok;artifactId:lombok 1.2、idea 要安装lombok plugin 1.3、作用: 对model类加一个@Data注解就可以省写set and get方法 对类加@Slf4j注解可以直接通过l 阅读全文
posted @ 2023-08-03 15:36 咔咔皮卡丘 阅读(55) 评论(0) 推荐(0)
摘要: #### 源码:[https://gitee.com/learning_demo/starter-demo](https://gitee.com/learning_demo/starter-demo) #### 一、介绍 * 本项目中主要以读取配置文件内容为例,介绍如何创建Starter的jar包。 阅读全文
posted @ 2021-06-04 16:42 咔咔皮卡丘 阅读(323) 评论(0) 推荐(0)
摘要: 在日常开发工作中,经常使用SpringBoot,SpringBoot更新得非常频繁,当我们使用一个新的版本的时候或者我们需要整合一些常用框架时,我们都会到官网上查看。 通常我们打开的是https://docs.spring.io/spring-boot/docs/current/reference/ 阅读全文
posted @ 2021-04-20 17:15 咔咔皮卡丘 阅读(72) 评论(0) 推荐(1)
摘要: 一、下载 1.官网下载页面:https://www.mysql.com/downloads/ 2.选择社区免费版 MySQL Community (GPL) Downloads » 3.选择 MySQL Community Server 4.下载相应版本(下载需要登录,按要求注册或登录即可) 二、解 阅读全文
posted @ 2021-04-15 10:05 咔咔皮卡丘 阅读(695) 评论(0) 推荐(0)
摘要: 一、目的 本java代码规范编写主要是为了给开发人员编码时提供一份参考文档,在协作开发及多项目切换开发中,有规范可循,实现代码高质量、高可读以及可维护。本文结合阿里java代码规范、项目实际情况以及个人的开发经验编写而成。本java开发规范的预期读者为系统设计人员、软件开发人员、技术经理。 二、适用 阅读全文
posted @ 2021-03-30 09:47 咔咔皮卡丘 阅读(2452) 评论(0) 推荐(0)
摘要: 例子: public static void main(String[] args) throws IOException{ String s1 = "Programming"; String s2 = new String("Programming"); String s3 = "Program" 阅读全文
posted @ 2021-03-22 14:07 咔咔皮卡丘 阅读(65) 评论(3) 推荐(0)
摘要: 1.内存 free -m 2.CPU lscpu 显示格式: Architecture: #架构 CPU(s): #逻辑cpu颗数=CPU socket(s)*Core(s) per socket*Thread(s) per core Thread(s) per core: #每个核心线程 Core 阅读全文
posted @ 2021-03-15 15:35 咔咔皮卡丘 阅读(595) 评论(1) 推荐(1)
摘要: 1.top 找出占用高的进程 => 进程pid(例子中为7237) top 2.进程pid 找出占用高的线程(例子中为7253) top -Hp 7237 3.jstack 进程pid | grep 线程pid的16进制 -A 30 找出确切的代码位置,后30行 jstack 在java安装目录bi 阅读全文
posted @ 2021-03-14 15:21 咔咔皮卡丘 阅读(120) 评论(0) 推荐(1)