摘要:
方式一: 创建类继承 Thread,重写 run 方法 public class MyThread extends Thread{ ... 阅读全文
posted @ 2022-03-07 18:04
叕叕666
阅读(30)
评论(0)
推荐(0)
摘要:
特点:数据存储方式为散链表(数组+链表或数组+红黑树) 初始化 HashMap有四种初始化方式: 方式一: public HashM... 阅读全文
posted @ 2022-03-07 18:04
叕叕666
阅读(42)
评论(0)
推荐(0)
摘要:
自定义拦截器 public class MyInterceptor implements HandlerInterceptor {... 阅读全文
posted @ 2022-03-07 18:04
叕叕666
阅读(34)
评论(0)
推荐(0)
摘要:
方式一: 自定义过滤器实现Filter接口 public class MyFilter implements Filter { ... 阅读全文
posted @ 2022-03-07 18:04
叕叕666
阅读(164)
评论(0)
推荐(0)
摘要:
依赖 org.springframework.boot spring-boot-starter-data-redis org... 阅读全文
posted @ 2022-03-07 18:04
叕叕666
阅读(54)
评论(0)
推荐(0)
摘要:
yaml配置数据库 spring: datasource: db1: driver-class-name: co... 阅读全文
posted @ 2022-03-07 18:04
叕叕666
阅读(60)
评论(0)
推荐(0)
摘要:
方式一(mybatis-config.xml+mapper.xml+application.yaml+mapperDao接口): 导... 阅读全文
posted @ 2022-03-07 18:04
叕叕666
阅读(99)
评论(0)
推荐(0)
摘要:
Get @RestController@RequestMapping(path = "data")public class BCon... 阅读全文
posted @ 2022-03-07 18:04
叕叕666
阅读(72)
评论(0)
推荐(0)
摘要:
运行SpringBoot项目时发现报此异常 com.mysql.cj.exceptions.DataConversionExcept... 阅读全文
posted @ 2022-03-07 18:04
叕叕666
阅读(395)
评论(0)
推荐(0)
摘要:
运行SpringBoot项目时发现报此异常 ### The error may exist in mapper/UserMapper... 阅读全文
posted @ 2022-03-07 18:04
叕叕666
阅读(502)
评论(0)
推荐(0)
浙公网安备 33010602011771号