04 2023 档案

摘要:连接数据库 spring: application: name: reggie datasource: druid: driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://localhost:3306/sq1?serverTime 阅读全文 »
posted @ 2023-04-09 17:18 Bepowerful 阅读(20) 评论(0) 推荐(0) 编辑
摘要:github访问//谷歌插件 github加速, github上下载DevSidecar软件加速 基本配置:(设置用户信息) //环境安装完一定要配置,知道是谁提交的代码 1.打开gitBash,设置用户信息 git config --global user.name "liujin" git co 阅读全文 »
posted @ 2023-04-08 20:45 Bepowerful 阅读(13) 评论(0) 推荐(0) 编辑
摘要:1.添加依赖 <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> <version>2.9.2</version></dependency><dependency> <gro 阅读全文 »
posted @ 2023-04-07 01:05 Bepowerful 阅读(22) 评论(0) 推荐(0) 编辑
摘要:1.spring6以下不会和swagger2.9.2产生冲突 2.idea中git先在自己的分支pull主分支后commit本地库然后进入主分支合并(先pull有利于减少冲突) 3.redis中使用StringRedisTemplate需要注意键值对都要是string类型,当传map的时候容易翻车, 阅读全文 »
posted @ 2023-04-06 20:33 Bepowerful 阅读(17) 评论(0) 推荐(0) 编辑
摘要:1.定义数组三种方式 int[] arr =new int[10]; int[] arr = new int[]{2,3,4,5,5}; int[] arr = {2,4,5,6,6}; 2.Arrays.toString(数组) //将数组中的数据转为字符串 3."liuliu.big".subs 阅读全文 »
posted @ 2023-04-04 01:55 Bepowerful 阅读(132) 评论(0) 推荐(0) 编辑
摘要:spring-context Spring框架的依赖 junit 测试的依赖 需要配置test mysql-connector-java mysql驱动包 druid 德鲁伊mysql连接池 javax.annotation-api jdk9之后javax.annotation包被移除了,@Post 阅读全文 »
posted @ 2023-04-02 16:55 Bepowerful 阅读(42) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示