java
build_error
ai_generated
true
Plugin with id 'org.springframework.boot' not found. Please check that the plugin is correctly declared in the plugins block.
ID: java/gradle-missing-plugin-id
80%Fix Rate
85%Confidence
0Evidence
2025-06-30First Seen
Version Compatibility
| Version | Status | Introduced | Deprecated | Notes |
|---|---|---|---|---|
| 7+ | active | — | — | — |
Root Cause
The Spring Boot plugin is not applied, or the version is missing in the plugins block.
generic中文
未应用 Spring Boot 插件,或 plugins 块中缺少版本。
Workarounds
-
95% success Apply the Spring Boot plugin with a valid version
plugins { id 'org.springframework.boot' version '3.2.0' } -
90% success Use the plugin management block to define the version centrally
pluginManagement { plugins { id 'org.springframework.boot' version '3.2.0' } }
Dead Ends
Common approaches that don't work:
-
Using the full class name instead of the plugin ID
90% fail
Gradle requires the plugin ID, not the class name.
-
Adding the plugin to buildscript dependencies without using the plugins block
80% fail
The plugins block is the recommended way; buildscript may not apply the plugin correctly.