摘要: 1 通过7z软件 打开 2 把修改好的问题 拖拽到指定位置即可 阅读全文
posted @ 2024-01-18 12:00 梦见舟 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 参考 https://dev.mysql.com/doc/refman/8.0/en/windows-server-first-start.html 阅读全文
posted @ 2021-06-15 22:36 梦见舟 阅读(46) 评论(0) 推荐(0) 编辑
摘要: RLock lock = redissonClient.getLock(LOCK_KEY); try { if (!lock.tryLock(Constants.TEN, TimeUnit.SECONDS)) { throw new BusinessException("访问频繁请稍后再试"); } 阅读全文
posted @ 2021-05-17 11:02 梦见舟 阅读(4173) 评论(0) 推荐(0) 编辑
摘要: /** * 二分查找 */ public class HalfSearch { public static void main(String[] args) { int[] a = new int[]{1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21}; int searc 阅读全文
posted @ 2021-03-30 13:17 梦见舟 阅读(49) 评论(0) 推荐(0) 编辑
摘要: translate 插件 https://plugins.jetbrains.com/plugin/8579-translation 可以快速查看文档 阅读全文
posted @ 2021-03-27 06:18 梦见舟 阅读(45) 评论(0) 推荐(0) 编辑
摘要: 私有方法出错,事务回滚 @Override @Transactional public void addContract() { ContractEntity contract = new ContractEntity(); contract.setContractType(ContractType 阅读全文
posted @ 2021-03-04 16:04 梦见舟 阅读(37) 评论(0) 推荐(0) 编辑
摘要: 单元测试报错系列 Cannot instantiate @InjectMocks field named 'contractService'! Cause: the type 'ContractService' is an interface. You haven't provided the in 阅读全文
posted @ 2021-03-03 14:27 梦见舟 阅读(883) 评论(0) 推荐(0) 编辑
摘要: Spring 的主要功能 读取配置 帮忙创建Bean对象,管理Bean对象之间的依赖关系,管理Bean的声明周期 问题 SpringContext一定需要存在么? 可以 Spring如何集成其他框架? 例如:集成mybatis 首先管理mybatis的配置 管理数据库连接池 管理创建数据库连接池的B 阅读全文
posted @ 2021-02-07 11:48 梦见舟 阅读(37) 评论(0) 推荐(0) 编辑
摘要: study Spring源码 1 一道算法题 英语学习 每日学习的心得体会 提出问题, 解决问题。 阅读全文
posted @ 2021-02-07 10:21 梦见舟 阅读(27) 评论(0) 推荐(0) 编辑
摘要: 按照官网的说明文档操作。 看到出错,大部分是jdk版本不对造成的 阅读全文
posted @ 2021-02-06 13:07 梦见舟 阅读(93) 评论(0) 推荐(0) 编辑