鲲鹏社区首页
中文
注册
我要评分
文档获取效率
文档正确性
内容完整性
文档易理解
在线提单
论坛求助

使用lein命令时报“Could not transfer artifact”问题的解决方法

问题现象

使用lein命令时报错Could not transfer artifact。

处理步骤

第一次在环境中使用lein命令需要依赖外网的包,需要确保编译前能连通外网,否则需要配置代理,如下所示。

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