scala – 在哪里可以在Intellij IDEA中设置SBT代理?
发布时间:2020-12-16 09:33:46 所属栏目:安全 来源:网络整理
导读:我正在使用Intellij IDEA 14.1.3版,并安装了Scala插件。创建SBT项目时,会报告以下错误: Error:Error while importing SBT project:... :::::::::::::::::::::::::::::::::::::::::::::: :: org.fusesource.jansi#jansi;1.11: not found :::::::::::::::::
我正在使用Intellij IDEA 14.1.3版,并安装了Scala插件。创建SBT项目时,会报告以下错误:
Error:Error while importing SBT project: ... :::::::::::::::::::::::::::::::::::::::::::::: :: org.fusesource.jansi#jansi;1.11: not found :::::::::::::::::::::::::::::::::::::::::::::: :::: ERRORS Server access Error: Connection timed out: connect url=http://repo.typesafe.com/typesafe/ivy-releases/org.fusesource.jansi/jansi/1.11/ivys/ivy.xml Server access Error: Connection timed out: connect url=http://repo1.maven.org/maven2/org/fusesource/jansi/jansi/1.11/jansi-1.11.pom Server access Error: Connection timed out: connect url=http://repo1.maven.org/maven2/org/fusesource/jansi/jansi/1.11/jansi-1.11.jar :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS unresolved dependency: org.fusesource.jansi#jansi;1.11: not found Error during sbt execution: Error retrieving required libraries (see C:Usersxiaona.sbtbootupdate.log for complete log) Error: Could not retrieve jansi 1.11 See complete log in C:Usersxiaona.IdeaIC14systemlogsbt.last.log 引用这个post后,我看到根本原因应该是我使用代理连接互联网。 但在SBT设置屏幕中: 我找不到设置代理的地方。在Intellij IDEA中我可以在哪里设置SBT代理? 解决方法
添加-Dhttp.proxyHost =< proxy_server> -Dhttp.proxyPort = LT; proxy_port使用>到VM参数
阅读documentation了解更多信息 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |