Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/scala/19.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Scala SBT不通过代理工作_Scala_Proxy_Sbt - Fatal编程技术网

Scala SBT不通过代理工作

Scala SBT不通过代理工作,scala,proxy,sbt,Scala,Proxy,Sbt,根据SBT,所以我试着让SBT在代理下工作。但还是会出错 [warn] Your proxy requires authentication. [warn] Your proxy requires authentication. [warn] Your proxy requires authentication. [warn] module not found: com.github.nscala-time#nscala-time_2.11;2.16.0 [warn] ==== local:

根据SBT,所以我试着让SBT在代理下工作。但还是会出错

[warn] Your proxy requires authentication.
[warn] Your proxy requires authentication.
[warn] Your proxy requires authentication.
[warn]  module not found: com.github.nscala-time#nscala-time_2.11;2.16.0
[warn] ==== local: tried
[warn]   /home/user/.ivy2/local/com.github.nscala-time/nscala-time_2.11/2.16.0/ivys/ivy.xml
[warn] ==== public: tried
[warn]   https://repo1.maven.org/maven2/com/github/nscala-time/nscala-time_2.11/2.16.0/nscala-time_2.11-2.16.0.pom
[warn] ==== sonatype-snapshots: tried
[warn]   https://oss.sonatype.org/content/repositories/snapshots/com/github/nscala-time/nscala-time_2.11/2.16.0/nscala-time_2.11-2.16.0.pom
[warn] ==== scalaz-bintray: tried
[warn]   https://dl.bintray.com/scalaz/releases/com/github/nscala-time/nscala-time_2.11/2.16.0/nscala-time_2.11-2.16.0.pom
我试过:

  • java-Dhttp.proxyUser=username-Dhttp.proxyPassword=mypassword设置(都是HTTPS)
  • 导出http(s)\代理环境变量
  • 导出JAVA_选项
  • 出口SBT_选项
  • 更新sbtopts文件

  • ~/.ivy2/cache/目录包含sbt无法获取的库。我的sbt版本是0.13.13。有人能帮我理解我做错了什么吗

    例如,您可以使用代理通过curl连接到google.com吗?@Mystion curl工作正常。顺便说一句,问题仍然存在(例如,您可以使用代理通过curl连接到google.com吗?@Mystion curl工作正常。顺便说一句,问题仍然存在(