Skip to main content
在 Manus 中运行任何 Skill
一键导入

modular-auto-config

星标8
分支4
更新时间2026年7月15日 20:18

Navigate Spring Boot 4's modular auto-configuration — the breaking change that split the monolithic spring-boot-autoconfigure JAR into focused modules, so features only auto-configure when their starter is present. Use when migrating Spring Boot 3.x → 4, choosing/adding starters, or debugging "it worked before and now it doesn't": missing auto-config, H2 console gone, RestClient/Flyway not wired, or the renamed spring-boot-starter-web → spring-boot-starter-webmvc. Also covers the spring-boot-autoconfigure-classic escape hatch. Do NOT use for writing your OWN @AutoConfiguration classes, or for runtime bean wiring (see bean-registration).

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly