gpt4 book ai didi

scala - sbt 0.13.8 windows 7 Unresolved 依赖关系 : org. fusesource.jansi

转载 作者:行者123 更新时间:2023-12-03 17:42:47 24 4
gpt4 key购买 nike

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

我将 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

最佳答案

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

请按照在 How to use sbt from behind proxy? 中找到的说明进行操作用于在 SBT 设置代理。

关于scala - sbt 0.13.8 windows 7 Unresolved 依赖关系 : org. fusesource.jansi,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31970232/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com