/img/系统图片/avatar.png

hahaen

Spring

Spring、SpringMVC、SpringBoot区别是什么? SpringBoot 到 SpringMVC 的改进是: 自动化配置: SpringMVC通过xml配置,手动指定。S

电商

高并发三种处理方式 系统拆分 缓存 MQ 做项目的时候,如果我们有个变量,我们需要在上下文一直传递下去,那这个时候怎么去弄呢? 可以用Threadloc

Jacoco使用教程

在pom.xml添加配置 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.8.5</version> <executions> <execution> <id>default-prepare-agent</id> <goals> <goal>prepare-agent</goal> </goals> </execution> <execution> <id>default-report</id> <phase>verify</phase> <goals> <goal>report</goal> </goals> </execution>

Checkstyle使用教程

checkstyle.xml模板 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54

Flyway使用教程

官网 引入Maven plugin 1 2 3 4 5 6 7 8 9 10 <plugin> <groupId>org.flywaydb</groupId> <artifactId>flyway-maven-plugin</artifactId> <version>6.2.4</version> <configuration> <user>root</user> <password>root</password> <url>jdbc:mysql://localhost:3306/xxx</url> </configuration> </plugin> 创建目录 在resources下创建目录db 在目录db创建目录migration 在