上一页 1 ··· 8 9 10 11 12 13 14 15 16 下一页
摘要: 1.GET 请求 public static JSONObject getHttpGetResp(String url, String authorization, String title) { HttpGet httpGet = new HttpGet(url); String resp = g 阅读全文
posted @ 2022-10-19 14:24 sowler 阅读(99) 评论(0) 推荐(0)
摘要: 1.MapStruct简介 MapStruct是一个代码生成器,它基于约定优于配置的方法,极大地简化了Java bean类型之间映射的实现。生成的映射代码使用简单的方法调用,快速、类型安全且易于理解。应用程序通常需要在不同的对象模型(例如实体和dto、vo)之间进行映射。编写这样的映射代码是一项繁琐 阅读全文
posted @ 2022-10-12 11:56 sowler 阅读(202) 评论(0) 推荐(0)
摘要: 配置mybatis mybatis: #mapper路径 mapper-locations: classpath:mapper/*.xml configuration: #日志输出 log-impl: org.apache.ibatis.logging.stdout.StdOutImpl #开启驼峰 阅读全文
posted @ 2022-09-30 10:26 sowler 阅读(176) 评论(0) 推荐(0)
摘要: #开启logging logging.level.org.springframework.boot.autoconfigure: error logging: level: main.blog.mapper: debug config: classpath: logback-spring.xml 阅读全文
posted @ 2022-09-30 10:10 sowler 阅读(86) 评论(0) 推荐(0)
摘要: 1. POI Apache POI 是基于 Office Open XML 标准(OOXML)和 Microsoft 的 OLE 2 复合文档格式(OLE2)处理各种文件格式的开源项目。 2. 样式设置 //设置标题 HSSFCellStyle titleStyle = workbook.creat 阅读全文
posted @ 2022-09-29 15:15 sowler 阅读(422) 评论(0) 推荐(0)
摘要: 1.MinIO简介 MinIO是高性能的对象存储,单个对象最大可达5TB。适合存储图片、视频、文档、备份数据、安装包等一系列文件。是一款主要采用Golang语言实现发开的高性能、分布式的对象存储系统。客户端支持Java,Net,Python,Javacript, Golang语言。客户端与服务器之间 阅读全文
posted @ 2022-09-28 15:15 sowler 阅读(597) 评论(0) 推荐(0)
摘要: <?xml version="1.0" encoding="UTF-8"?> <configuration scan="true"> <contextName>auth</contextName> <property name="LOG_APP_NAME" value="${LOG_APP_NAME 阅读全文
posted @ 2022-09-27 09:37 sowler 阅读(88) 评论(0) 推荐(0)
摘要: mysql查询时候报错: Lock wait timeout exceeded; try restarting transaction 译文:锁等待超时;试着重新启动事务 被锁了,需要解锁。 1.innodb_trx 当前运行的所有事务 select * from information_schem 阅读全文
posted @ 2022-09-26 18:22 sowler 阅读(537) 评论(0) 推荐(0)
摘要: 1.静态加载Driver static { try { Class.forName("com.mysql.cj.jdbc.Driver"); } catch (ClassNotFoundException e) { e.printStackTrace(); } } 2.创建连接 private st 阅读全文
posted @ 2022-09-26 16:11 sowler 阅读(29) 评论(0) 推荐(0)
摘要: 1.错误信息 org.redisson.client.RedisException: MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands t 阅读全文
posted @ 2022-09-23 17:09 sowler 阅读(334) 评论(0) 推荐(0)
上一页 1 ··· 8 9 10 11 12 13 14 15 16 下一页