Skip to content

Plugin with id 'spring-boot' not found. #12976

Closed
@godpit

Description

@godpit
buildscript {
    repositories {
        mavenCentral()
        mavenLocal()
        maven { url "http://repo.spring.io/snapshot" }
        maven { url "http://repo.spring.io/milestone" }
        maven { url "http://repo.spring.io/release" }
    }
    dependencies {
        classpath("org.springframework.boot:spring-boot-gradle-plugin:1.5.10.RELEASE")
    }
}

apply plugin: "spring-boot"

Plugin with id 'spring-boot' not found.

however, add this replace the above,

plugins {
    id 'org.springframework.boot' version '1.5.10.RELEASE'
}

error: Cannot resolve external dependency org.springframework.boot:spring-boot-starter-parent:1.5.10.RELEASE because no repositories are defined.

Metadata

Metadata

Assignees

No one assigned

    Labels

    for: stackoverflowA question that's better suited to stackoverflow.com

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions