Reputation: 718
Gradle command throwing below Exception:
Where: Build file '/path_to_project_gradle/build.gradle' line: 21
What went wrong: Plugin [id: 'org.springframework.boot', version: '2.0.2.RELEASE'] was not found in any of the following sources:
Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
Configuration :
JAVA Configuration : java version "1.8.0_181" Java(TM) SE Runtime Environment (build 1.8.0_181-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)
Upvotes: 4
Views: 9048
Reputation: 51
Or, in the IntelliJ, you can choose to use "use local gradle distribution" then uncheck the "offline work" in the next session.
Upvotes: 5