cursive icon indicating copy to clipboard operation
cursive copied to clipboard

deps.edn Failed to read artifact descriptor for org.clojure:clojure:jar

Open A-Helberg opened this issue 3 years ago • 0 comments

When I import an existing project I get this error. This also happens when refreshing the projects in the Clojure Deps tab from cursive in Intellij IDEA

Failed to read artifact descriptor for org.clojure:clojure:jar:1.11.1

This can be traced to using :mvn/local-root ".m2/" in the deps.edn

Solved by: Running File->Invalidate Caches... Selecting "Clear file system cache and Local History" and clicking "Invalidate and restart"

I had to do a deep dive to figure out why this wasn't working. Hopefully this saves someone some time. And apologies for the SEO'd text

A-Helberg avatar Aug 10 '23 14:08 A-Helberg