Gradle project fails to build while fetching non-existing snapshot distro
See original GitHub issueSource: microsoft/vscode-docs#3409 from @n8s16
I can’t seem to find a solution to this problem so I think this might be a bug. Before, I can easily run my spring boot gradle project in VSCode (with Java and Spring Boot extensions) migrated from STS3. I tried to setup VSCode and project (the same way how I setup before) to a new machine. And I encountered this issue:
Could not fetch model of type 'BuildEnvironment' using Gradle distribution 'https://services.gradle.org/distributions-snapshots/gradle-6.0-20191016123526+0000-bin.zip'.
The specified Gradle distribution 'https://services.gradle.org/distributions-snapshots/gradle-6.0-20191016123526+0000-bin.zip' does not exist.
https://downloads.gradle-dn.com/distributions-snapshots/gradle-6.0-20191016123526+0000-bin.zip
To my understanding, VSCode cannot fetch the specific gradle distribution. But when I tried to build and run the code to STS3 again, it’s seems working properly. Thanks in advance.
Not familiar with Gradle part. @fbricon @snjeza do you have any idea what this is about?
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
2 - Stack Overflow
Your question is similar to Gradle project fails to build while fetching non-existing snapshot distro. Please manually install the latest CI ...
Read more >Upgrading your build from Gradle 6.x to the latest
The buildId field will not be populated by default to ensure that the produced metadata file remains unchanged when no build inputs are...
Read more >Troubleshooting builds - Gradle User Manual
Troubleshooting daemon connection issues. If your Gradle build fails before running any tasks, you may be encountering problems with your network configuration.
Read more >userguide.pdf - Gradle User Manual
If your Gradle build fails before running any tasks, you may be encountering problems with your network configuration. When Gradle is unable ...
Read more >Gradle does not fetch new SNAPSHOT of dependency
I have now officially moved our new projects to gradle. It builds just like it did with Maven. However one caveat.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi , I use latest version of gradle tasks and Language support for Java, but it seems still issue
Until then you can manually install the latest CI build (0.57.0) from http://download.jboss.org/jbosstools/jdt.ls/staging/.
Better manually delete .project, .settings/, ~/.toolings/ and clean the workspace directory