0
我在运行OS X Yosemite(10.10.5)的Mac上安装Clojure。按照推荐的程序,我首先安装了Leiningen。虽然是第一次运行lein deps
,我得到了一系列的错误,如本:Leiningen无法在OS X Yosemite上安装依赖项:“InvalidAlgorithmParameterException(trustAnchors参数必须为非空)”
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的,和操作系统等专用软件等StackOverflow的问题同样令人费解的错误信息在这些情况下,X和接受的答案似乎与我的工作非常不同(例如Error - trustAnchors parameter must be non-empty),所以我为这个特定问题创建了一个新问题,以帮助其他人尝试在Mac上安装Clojure。