摘要:
前言:本文章专用于因版本问题导致springboot整合flyway不成功无法自动迁移的情况 【pom.xml】 <dependency> <groupId>org.flywaydb</groupId> <artifactId>flyway-core</artifactId> <version>3. 阅读全文
摘要:
我的集成示例:https://gitee.com/a_seagull/jfinal-common jfinal官方示例参考:https://jfinal.com/download/now?file=jfinal_demo_for_maven-5.0.0.zip 集成时可能出现如下问题: maven- 阅读全文
摘要:
在spring boot中有时候需要控制配置类是否生效,可以使用@ConditionalOnProperty注解来控制@Configuration是否生效 【举例】 @Configuration @ConditionalOnProperty(prefix = "filter",name = "log 阅读全文
摘要:
读取JAR包中文件方法,有三种。 一、通过类加载器获取 public class App { public static void main(String[] args) { InputStream is = this.getClass().getClassLoader().getResourceA 阅读全文
摘要:
[toc] # 一、问题引出 问题:使用 nexus 私服后,如何控制编写的公共组件发布到 SNAPSHOT 仓库还是 RELEASE 仓库? 既项目的pom.xml文件中如何配置mvn deploy 操作后是发布到 SNAPSHOT 仓库还是 RELEASE 仓库中 # 二、为什么 在使用mave 阅读全文
摘要:
### Java template # Compiled class file *.class # Log file *.log # BlueJ files *.ctxt # Mobile Tools for Java (J2ME) .mtj.tmp/ # Package Files # *.jar 阅读全文
摘要:
一、前言 https://www.cnblogs.com/knowledgesea/p/11190579.html 二、部署Nexus私服 1.常规方式 地址:https://www.sonatype.com/ 下载地址:https://www.sonatype.com/download-nexus 阅读全文
摘要:
问题:原项目基于mybatis开发,新功能基于mybatis-plus开发,同时依赖如下两个jar包 mybatis-spring-boot-starter mybatis-plus-boot-starter 启动时报错:java.lang.NoClassDefFoundError: org/myb 阅读全文
摘要:
pom依赖 <dependency> <groupId>org.openjdk.jol</groupId> <artifactId>jol-core</artifactId> <version>0.16</version> </dependency> 对象的内存布局分为两种,普通对象和数组对象 普通 阅读全文
摘要:
一、前言 前段时间公司产品进行了架构的进化,进化到了多租户架构。当第一次听到多租户时,也挺纳闷,不理解。当逐渐的翻阅资料,以及研发功能时。不断的加深了对多租户的理解。尽管现在也只是浅浅的懂一点。 OK,Let's get this straight(让我们搞懂它),接下来让我们问自己几个问题: 1. 阅读全文