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

Also available as: JSON · Markdown · 中文
80%Fix Rate
85%Confidence
0Evidence
2025-06-30First Seen

Version Compatibility

VersionStatusIntroducedDeprecatedNotes
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

  1. 95% success Apply the Spring Boot plugin with a valid version
    plugins { id 'org.springframework.boot' version '3.2.0' }
  2. 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:

  1. Using the full class name instead of the plugin ID 90% fail

    Gradle requires the plugin ID, not the class name.

  2. 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.