Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

master fails to build due to a classworlds artifact not found #406

Closed
alexy opened this issue Sep 23, 2013 · 5 comments
Closed

master fails to build due to a classworlds artifact not found #406

alexy opened this issue Sep 23, 2013 · 5 comments

Comments

@alexy
Copy link

alexy commented Sep 23, 2013

./gradlew build
...

Artifact 'classworlds:classworlds:1.1-alpha-2@jar' not found.

@benjchristensen
Copy link
Member

That's an odd error, and not one happening for the CI builds. I have seen something similar before on my machine but with a different jar:

Could not resolve all dependencies for configuration ':rxjava-contrib:rxjava-android:provided'.
> Artifact 'commons-codec:commons-codec:1.3@jar' not found.

So there is indeed something weird going on, but not deterministic and not affecting our build servers (internal at Netflix nor CloudBees). I'll post again if I learn more.

@jmhofer
Copy link
Contributor

jmhofer commented Sep 24, 2013

I had this, too. Clearing the Maven cache fixes it. Sound like this. Some kind of Gradle/Maven interop problem, it seems.

@samuelgruetter
Copy link
Contributor

I had the same problem, too, and clearing the maven cache fixed it for me, thank you @jmhofer

@alexy
Copy link
Author

alexy commented Sep 24, 2013

Yep, clearing .m2/repository away and building again solves this.

A+

On Sep 23, 2013, at 7:58 PM, Ben Christensen notifications@github.com wrote:

That's an odd error, and not one happening for the CI builds. I have seen something similar before on my machine but with a different jar:

Could not resolve all dependencies for configuration ':rxjava-contrib:rxjava-android:provided'.

Artifact 'commons-codec:commons-codec:1.3@jar' not found.
So there is indeed something weird going on, but not deterministic and not affecting our build servers (internal at Netflix nor CloudBees). I'll post again if I learn more.


Reply to this email directly or view it on GitHub.

@peter-tackage
Copy link
Contributor

Yep, I had this problem with a different dependency, which was actually in my ~/.m2/repository

Could not resolve all dependencies for configuration ':rxjava-core:provided'.
> Artifact 'org.objenesis:objenesis:1.0@jar' not found.

Deleting the ~/.m2/repository/org/objenesis' directory and rerunning ./gradlew clean build resolved it too.

jihoonson pushed a commit to jihoonson/RxJava that referenced this issue Mar 6, 2020
…ctiveX#406)

* take async retry to separate class and reduce retry waiting time

* rate limiter aspect and other aspects fixes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants