Could not resolve plugins

When I run gradle clean build, i get these exception

My code{
plugins {
id ‘org.springframework.boot’ version ‘2.2.5.RELEASE’
id ‘io.spring.dependency-management’ version ‘1.0.9.RELEASE’
}

}

  • What went wrong:
    Plugin [id: ‘org.springframework.boot’, version: ‘2.2.5.RELEASE’] was not found in any of the following sources:
  • Gradle Core Plugins (plugin is not in ‘org.gradle’ namespace)
  • Plugin Repositories (could not resolve plugin artifact ‘org.springframework.boot:org.springframework.boot.gradle.plugin:2.2.5.RELEASE’)
    Searched in the following repositories:
    Gradle Central Plugin Repository
  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 579ms