initial gradle build fails with Artifact 'com.google.guava:guava:11.0.2@jar' not found.
See original GitHub issueAfter cloning from Github, running gradle
fails with:
$ java -version
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)
$ ./gradlew eclipse
Downloading http://services.gradle.org/distributions/gradle-1.8-all.zip
............................................
Unzipping /home/gliptak/.gradle/wrapper/dists/gradle-1.8-all/2kopnp0i5dq014k75fp36m3vd5/gradle-1.8-all.zip to /home/gliptak/.gradle/wrapper/dists/gradle-1.8-all/2kopnp0i5dq014k75fp36m3vd5
Set executable permissions for: /home/gliptak/.gradle/wrapper/dists/gradle-1.8-all/2kopnp0i5dq014k75fp36m3vd5/gradle-1.8/bin/gradle
Download http://dl.bintray.com/content/netflixoss/external-gradle-plugins/nl/javadude/gradle/plugins/license-gradle-plugin/0.6.1/license-gradle-plugin-0.6.1.pom
Download http://repo1.maven.org/maven2/com/mapvine/gradle-cobertura-plugin/0.1/gradle-cobertura-plugin-0.1.pom
Download http://dl.bintray.com/content/netflixoss/external-gradle-plugins/gradle-release/gradle-release/1.1.5/gradle-release-1.1.5.pom
Download http://repo1.maven.org/maven2/org/ajoberstar/gradle-git/0.5.0/gradle-git-0.5.0.pom
Download http://dl.bintray.com/content/gvsmirnov/gradle-plugins/com/github/jengelman/gradle/plugins/shadow/0.8.1/shadow-0.8.1.pom
Download http://repo1.maven.org/maven2/com/mycila/maven-license-plugin/maven-license-plugin/1.10.b1/maven-license-plugin-1.10.b1.pom
Download http://repo1.maven.org/maven2/com/mycila/parent-pom/5/parent-pom-5.pom
Download http://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit.ui/2.2.0.201212191850-r/org.eclipse.jgit.ui-2.2.0.201212191850-r.pom
Download http://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit-parent/2.2.0.201212191850-r/org.eclipse.jgit-parent-2.2.0.201212191850-r.pom
Download http://repo1.maven.org/maven2/org/eclipse/jgit/org.eclipse.jgit/2.2.0.201212191850-r/org.eclipse.jgit-2.2.0.201212191850-r.pom
Download http://repo1.maven.org/maven2/jdom/jdom/1.1/jdom-1.1.pom
Download http://repo1.maven.org/maven2/asm/asm/3.3.1/asm-3.3.1.pom
Download http://repo1.maven.org/maven2/asm/asm-parent/3.3.1/asm-parent-3.3.1.pom
Download http://repo1.maven.org/maven2/asm/asm-commons/3.3.1/asm-commons-3.3.1.pom
Download http://repo1.maven.org/maven2/com/mycila/xmltool/xmltool/3.3/xmltool-3.3.pom
Download http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/2.0.5/plexus-utils-2.0.5.pom
Download http://repo1.maven.org/maven2/org/codehaus/plexus/plexus/2.0.6/plexus-2.0.6.pom
Download http://repo1.maven.org/maven2/com/jcraft/jsch/0.1.44-1/jsch-0.1.44-1.pom
Download http://repo1.maven.org/maven2/org/sonatype/oss/oss-parent/6/oss-parent-6.pom
Download http://repo1.maven.org/maven2/org/jdom/jdom/1.1/jdom-1.1.pom
Download http://repo1.maven.org/maven2/asm/asm-tree/3.3.1/asm-tree-3.3.1.pom
Download http://dl.bintray.com/content/netflixoss/external-gradle-plugins/nl/javadude/gradle/plugins/license-gradle-plugin/0.6.1/license-gradle-plugin-0.6.1.jar
Download http://repo1.maven.org/maven2/com/mapvine/gradle-cobertura-plugin/0.1/gradle-cobertura-plugin-0.1.jar
Download http://dl.bintray.com/content/netflixoss/external-gradle-plugins/gradle-release/gradle-release/1.1.5/gradle-release-1.1.5.jar
Download http://repo1.maven.org/maven2/org/ajoberstar/gradle-git/0.5.0/gradle-git-0.5.0.jar
Download http://dl.bintray.com/content/gvsmirnov/gradle-plugins/com/github/jengelman/gradle/plugins/shadow/0.8.1/shadow-0.8.1.jar
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'rxjava'.
> Could not resolve all dependencies for configuration ':classpath'.
> Could not download artifact 'com.google.guava:guava:11.0.2@jar'
> Artifact 'com.google.guava:guava:11.0.2@jar' not found.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 5 mins 50.933 secs
The guava jar does seem to be available at http://repo1.maven.org/maven2/com/google/guava/guava/11.0.2/
Did I miss some required settings?
Thanks
Issue Analytics
- State:
- Created 9 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Artifact 'com.android.tools.build:gradle:0.12.1:gradle.jar' not ...
I tried to update manually the plugin from gradle.org and it does not contain any gradle.jar binary. How to resolve this error? android...
Read more >Troubleshooting builds - Gradle User Manual
$ gradle help Starting a Gradle Daemon, 1 stopped Daemon could not be reused, use --status for details FAILURE: Build failed with an...
Read more >Resolving problem when Maven repo contains POM but not Jar
If Gradle finds a POM file in a repository, it expects to find the declared artifacts in the same repository. This is not...
Read more >Upgrading your build from Gradle 7.x to the latest
Type safe Kotlin DSL accessors generation for precompiled script plugins does not fail the build by default if a plugin requested in such...
Read more >Upgrading your build from Gradle 6.x to the latest
While the following error initially looks like a compile error, it is actually due to the fact that ... You may notice missing...
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 Free
Top 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
Cleaning up com.google.guava artifacts from ~/.m2 resolved an issue for me
Looks like your maven repo cache is corrupted. Try deleting ~/.m2/ and building again.