has anyone had this problem on `./gradlew bootJar`...
# spring
has anyone had this problem on
./gradlew bootJar
? (not using intellij, it is in my CI/CD)
Copy code
* What went wrong: 
Plugin [id: 'org.springframework.boot', version: '2.1.4.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.1.4.RELEASE') 
  Searched in the following repositories: 
    Gradle Central Plugin Repository
haven’t changed at all since last susccessful deploy
Do you have this problem only with this plugin? Try reordering the plugins in the plugins {} section and see if it now fails with a different plugin.
Do you use a password protected repository? I had a similar problem, when the password for our artifactory was wrong.
Hm, ok, from the error messages it looks like you are just hitting the central gradle repo.
huh… reordering it causes the same problem in other plugin 🤔
Copy code
Plugin [id: 'org.jetbrains.kotlin.jvm', version: '1.2.71'] was not found in any of the following sources:
I’m not using user/password
actually is the default generated in start.spring.io
Maybe it has to do with the 24 trial of HTTPS only?!
yeah, we ran into this this morning and resulted in that status update, in the short term you’re gonna have to update your java version
It didn’t work form since I’m using java from aws codebuild in this specific project 😭
what is weird is that it worked on my machine with same java version
Copy code
openjdk 11.0.2 2019-01-15
OpenJDK Runtime Environment 18.9 (build 11.0.2+9)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+9, mixed mode)
right, cuz you’ve already got the dependencies in your gradle cache 🙂