在Spring Boot项目中,选择合适的mybatis版本与spring-boot-starter-parent版本相匹配是很重要的。以下是根据不同版本的spring-boot-starter-parent推荐的mybatis版本: 1. spring-boot-starter-parent 2.7.x 版本 对于spring-boot-starter-parent 2.7.x版本,推荐使用mybatis-spring-boot-starter的3.x版本。具体版本可以...
actuator 是 spring boot 提供的对应用系统的自省和监控的集成功能,可以对应用系统进行配置查看、相关功能统计等 使用Actuator 要想使用 Actuator 只需要在pom.xml依赖中加入Actuator 依赖即可,代码如下: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-actuator</artifactI...