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。