摘要:
有几种方法, 都是使用的 maven 插件实现的 maven-shade-plugin <build> <plugins> <plugin> <artifactId>maven-shade-plugin</artifactId> <version>3.2.4</version> <execution 阅读全文
摘要:
前言 最近想在项目中使用 mp, 直接导入 maven 依赖后发现没法使用, 一直报 Invalid bound statement (not found) 错误, 百度了许久终于发现了问题所在 原因 项目里使用了自定义数据源, 自定义的 sqlSessionFactory, mp 需要使用它的 c 阅读全文
摘要:
dashboard 版本 <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-netflix-hystrix-dashboard</artifactId> <versio 阅读全文
摘要:
feign.hystrix.enabled: true 是老版本的配置, 新版的配置是 feign: circuitbreaker: enabled: true 同时还需要引入 hystrix 依赖 <dependency> <groupId>org.springframework.cloud</g 阅读全文
摘要:
问题 原因 JDK 主路径 配置错误,这个路径是 ***/bin/java 中的 *** 部分, 如图 解决 JDK 路径配置好了就没问题了 idea 还做了端口转发 使用的时候可以用这个端口也可以直接用 服务器 ip + 服务器端口 是同样效果的 阅读全文
摘要:
增加一个 TypeHandler 就好辣 import org.apache.ibatis.type.BaseTypeHandler; import org.apache.ibatis.type.JdbcType; import org.springframework.boot.autoconfig 阅读全文
摘要:
关掉亮度自动调节就好了 阅读全文
摘要:
如图 阅读全文
摘要:
添加 maven 依赖就好 <dependency> <groupId>com.google.code.findbugs</groupId> <artifactId>jsr305</artifactId> <version>3.0.2</version> </dependency> 阅读全文
摘要:
参考 https://blog.csdn.net/weixin_44811578/article/details/107101248 /** * 表头样式 */ private static class XHorizontalCellStyleStrategy extends HorizontalC 阅读全文