sbt 0.13.8 windows 7未解析的依赖项:org.fusesource.jansi

时间:2015-08-12 16:01:02

标签: scala proxy dependencies sbt typesafe-activator

我在Windows上安装了scala和sbt。我不能使用VM盒,因为我在工作中使用的笔记本电脑上禁用了VT。使用scalac和scala运行示例程序可以正常工作,但我无法从命令行开始工作。

我将SBT_HOME设置为C:\ Program Files(x86)\ sbt \ 我如何让SBT工作?任何帮助表示赞赏。错误如下:

 java -Dsbt.log.noformat=true -Djline.terminal=jline.UnsupportedTerminal -Xmx512M -XX:MaxPermSize=256M -jar C:\Users\indgorti\.IdeaIC14\system\sbt\sbt-launch.jar 

Getting org.fusesource.jansi jansi 1.11 ...

:: problems summary ::
:::: WARNINGS
        module not found: org.fusesource.jansi#jansi;1.11

    ==== local: tried

      C:\Users\indgorti\.ivy2\local\org.fusesource.jansi\jansi\1.11\ivys\ivy.xml

    ==== typesafe-ivy-releases: tried

      http://repo.typesafe.com/typesafe/ivy-releases/org.fusesource.jansi/jansi/1.11/ivys/ivy.xml

    ==== Maven Central: tried

      http://repo1.maven.org/maven2/org/fusesource/jansi/jansi/1.11/jansi-1.11.pom

        ::::::::::::::::::::::::::::::::::::::::::::::

        ::          UNRESOLVED DEPENDENCIES         ::

        ::::::::::::::::::::::::::::::::::::::::::::::

        :: org.fusesource.jansi#jansi;1.11: not found

        ::::::::::::::::::::::::::::::::::::::::::::::



:: 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:\Users\indgorti\.sbt\boot\update.log for complete log)
Error: Could not retrieve jansi 1.11
Java HotSpot(TM) Client VM warning: ignoring option MaxPermSize=256M; support was removed in 8.0

1 个答案:

答案 0 :(得分:0)

您需要将SBT的代理设置为与本地Web浏览器相同的代理。

请按照How to use sbt from behind proxy?上的说明在SBT设置代理。