会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
博麗靈夢 的学习记录
踩坑记录
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
···
11
下一页
2022年8月18日
Maven 打包带依赖的 jar ( fat jar )
摘要: 有几种方法, 都是使用的 maven 插件实现的 maven-shade-plugin <build> <plugins> <plugin> <artifactId>maven-shade-plugin</artifactId> <version>3.2.4</version> <execution
阅读全文
posted @ 2022-08-18 16:14 博麗靈夢
阅读(850)
评论(0)
推荐(0)
2022年8月12日
Mybatis-plus Invalid bound statement (not found) 的一种解决办法
摘要: 前言 最近想在项目中使用 mp, 直接导入 maven 依赖后发现没法使用, 一直报 Invalid bound statement (not found) 错误, 百度了许久终于发现了问题所在 原因 项目里使用了自定义数据源, 自定义的 sqlSessionFactory, mp 需要使用它的 c
阅读全文
posted @ 2022-08-12 20:07 博麗靈夢
阅读(318)
评论(0)
推荐(0)
2022年8月3日
解决 Hystrix Dashboard 出现 Unable to connect to Command Metric Stream 的问题
摘要: dashboard 版本 <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-netflix-hystrix-dashboard</artifactId> <versio
阅读全文
posted @ 2022-08-03 19:13 博麗靈夢
阅读(83)
评论(0)
推荐(0)
SpringCloud 配置 feign.hystrix.enabled: true 不生效的原因
摘要: feign.hystrix.enabled: true 是老版本的配置, 新版的配置是 feign: circuitbreaker: enabled: true 同时还需要引入 hystrix 依赖 <dependency> <groupId>org.springframework.cloud</g
阅读全文
posted @ 2022-08-03 18:50 博麗靈夢
阅读(530)
评论(0)
推荐(0)
解决 idea 配置远程运行项目出现 无法准备环境 的问题
摘要: 问题 原因 JDK 主路径 配置错误,这个路径是 ***/bin/java 中的 *** 部分, 如图 解决 JDK 路径配置好了就没问题了 idea 还做了端口转发 使用的时候可以用这个端口也可以直接用 服务器 ip + 服务器端口 是同样效果的
阅读全文
posted @ 2022-08-03 17:02 博麗靈夢
阅读(1932)
评论(0)
推荐(1)
2022年7月30日
Mybatis 使用 SQLite 不支持 LocalDateTime 的解决方案
摘要: 增加一个 TypeHandler 就好辣 import org.apache.ibatis.type.BaseTypeHandler; import org.apache.ibatis.type.JdbcType; import org.springframework.boot.autoconfig
阅读全文
posted @ 2022-07-30 12:48 博麗靈夢
阅读(1181)
评论(0)
推荐(1)
2022年7月28日
Windows 11 屏幕亮度自动调整的问题
摘要: 关掉亮度自动调节就好了
阅读全文
posted @ 2022-07-28 10:28 博麗靈夢
阅读(108)
评论(0)
推荐(0)
2022年7月26日
Idea 抑制警告, 自动生成 SupressWarning
摘要: 如图
阅读全文
posted @ 2022-07-26 10:52 博麗靈夢
阅读(99)
评论(0)
推荐(0)
2022年7月22日
解决 java: 未知的枚举常量 javax.annotation.meta.When.MAYBE 原因: 找不到javax.annotation.meta.When的类文件 问题
摘要: 添加 maven 依赖就好 <dependency> <groupId>com.google.code.findbugs</groupId> <artifactId>jsr305</artifactId> <version>3.0.2</version> </dependency>
阅读全文
posted @ 2022-07-22 09:26 博麗靈夢
阅读(3069)
评论(1)
推荐(1)
2022年7月19日
EasyExcel 导出 xlsx 自动列宽
摘要: 参考 https://blog.csdn.net/weixin_44811578/article/details/107101248 /** * 表头样式 */ private static class XHorizontalCellStyleStrategy extends HorizontalC
阅读全文
posted @ 2022-07-19 11:17 博麗靈夢
阅读(2003)
评论(4)
推荐(2)
上一页
1
2
3
4
5
6
7
···
11
下一页
公告