I have just downloaded a spring-boot project from http://start.spring.io/. The error is occurring in the build.gradle file:
> Build file 'C:\Users\me\Desktop\WorkSpace\myProject\build.gradle' line: 3
Plugin [id: 'org.springframework.boot', version: '3.2.3'] was not found in any of the following sources:
* 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.
I tried to build the project with an older SB version but the error persists.
Make sure you added the Spring Boot plugin to your build.gradle file.
Open terminal from your IDE (I used IntelliJ IDEA) and type following command:
This command will generate executable archive placed under build/libs directory.
That's it. Now click run button and enjoy with your code.