简体   繁体   English

Leiningen 命令突然返回错误

[英]Leiningen commands suddenly return errors

When running lein commands, I get this error:运行lein命令时,出现此错误:

Failed to read artifact descriptor for com.cognitect:transit-clj:jar:0.8.309

I have no clue what's going on, I've had the error for a day now.我不知道发生了什么,我已经有一天的错误了。 These are my dependencies:这些是我的依赖项:

  :dependencies [[ch.qos.logback/logback-classic "1.2.9"]
                 [com.novemberain/validateur "2.6.0"]
                 [com.timezynk/assembly-line "1.0.0"]
                 [com.timezynk/useful "1.19.0"]
                 [compojure "1.7.0" :scope "provided"]
                 [congomongo "2.5.1" :scope "provided"]
                 [org.clojure/clojure "1.11.1" :scope "provided"]
                 [org.clojure/tools.logging "1.2.4"]
                 [slingshot "0.12.2"]
                 [tortue/spy "2.4.0"]]

Edit: It looks like a Maven error, and maybe it is, but I don't know anything about Maven, and I can't find any info that is readable to me.编辑:它看起来像一个 Maven 错误,也许是,但我对 Maven 一无所知,而且我找不到任何对我来说可读的信息。

Found a solution.找到了解决方案。 Completely cleaning out the repository solved the issue:完全清理存储库解决了这个问题:

cd ~/.m2/repository
sudo rm -rf *

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM