【发布时间】:2017-01-31 17:51:55
【问题描述】:
我在运行 OS X Yosemite (10.10.5) 的 Mac 上安装 Clojure。按照推荐的程序,我首先安装了 Leiningen。在第一次运行lein deps 时,我遇到了一系列错误,例如:
Could not transfer artifact org.clojure:clojure:pom:1.8.0 from/to central (https://repo1.maven.org/maven2/): java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
同样令人费解的错误消息出现在与 Leiningen、Clojure 和 OS X 以外的特定软件相关的许多其他 StackOverflow 问题中,并且在这些情况下接受的答案似乎与对我有用的答案大不相同(例如 @987654321 @),因此我针对这个特定问题创建了一个新问题,以帮助其他尝试在 Mac 上安装 Clojure 的人。
【问题讨论】: