迁移原因:Spring Boot 3 默认集成 JUnit 5,不再支持 JUnit 4 的 SpringRunner。 🔧 一、依赖调整 移除 JUnit 4 <dependency> <groupId>junit</groupId> <artifactId>juni