Could not transfer artifact

I am getting following error while trying to build a clojurescript project.

$ clojure -A:fig:build

Error building classpath. Could not transfer artifact org.eclipse.jetty:jetty-io:jar:9.4.12.v20180830 from/to central (https://repo1.maven.org/maven2/): Range Not Satisfiable (416)

I am using a Mac.

It seems far more likely someone might be able to help you if you are willing to publish the contents of your file deps.edn (the one in the current directory/project, and perhaps also your $HOME/.clojure/deps.edn one, if you have one).

Looks like you have a partial download of the jetty dependency and it fails to continue the download.

Try deleting the ~/.m2/repository/org.eclipse.jetty folder and try again.

1 Like

Removing ~/.m2/repository/ fixed the issue. Thanks @thheller

1 Like