Rate This Document
Findability
Accuracy
Completeness
Readability

Error Message "Could not transfer artifact" Reported When Running the lein Command

Symptom

The error message "Could not transfer artifact" is reported when running the lein command.

Procedure

Packages will be downloaded from the Internet if you run the lein command in the environment for the first time. Therefore, make sure that the Internet can be connected before compilation. Otherwise, you need to configure a proxy as follows.

1
2
export http_proxy="http://Username:Password@Host:Port"
export https_proxy="http://Username:Password@Host:Port"