org.fusesource.jansi#jansi; 1.11:在Windows命令行中运行SBT&在IntelliJ工具中

时间:2018-02-01 12:24:46

标签: scala intellij-idea sbt intellij-plugin jansi

我正在尝试在Windows 10计算机上使用IntelliJ进行Scala / SBT开发。但是,每次我使用Scala / SBT打开项目时,我都会收到以下错误:

 Error while importing sbt project: Getting org.fusesource.jansi jansi
 1.11 ... :: problems summary :: :::: WARNINGS :::::::::::::::::::::::::::::::::::::::::::::: :: UNRESOLVED
 DEPENDENCIES :: :::::::::::::::::::::::::::::::::::::::::::::: ::
 org.fusesource.jansi#jansi;1.11: several problems occurred while
 resolving dependency: org.fusesource.jansi#jansi;1.11
 {default=[default(compile)]}: java.util.NoSuchElementException
 java.util.NoSuchElementException java.util.NoSuchElementException
 java.util.NoSuchElementException java.util.NoSuchElementException
 :::::::::::::::::::::::::::::::::::::::::::::: :: USE VERBOSE OR DEBUG
 MESSAGE LEVEL FOR MORE DETAILS unresolved dependency:
 org.fusesource.jansi#jansi;1.11: several problems occurred while
 resolving dependency: org.fusesource.jansi#jansi;1.11
 {default=[default(compile)]}: java.util.NoSuchElementException
 java.util.NoSuchElementException java.util.NoSuchElementException
 java.util.NoSuchElementException java.util.NoSuchElementException
 Error during sbt execution: Error retrieving required libraries (see
 C:\Users\kwn917\.sbt\boot\update.log for complete log) Error: Could
 not retrieve jansi 1.11 Java HotSpot(TM) Client VM warning: ignoring
 option MaxPermSize=384M; support was removed in 8.0

我有" 2017.3.4终极版" IntelliJ并已在“设置”选项中下载了SBT和Scala插件。

我还尝试从Windows命令提示符运行SBT命令,并在下面得到相同的错误:

Java HotSpot(TM) 64-Bit Server VM warning: ignoring option
MaxPermSize=256m; support was removed in 8.0 Getting
org.fusesource.jansi jansi 1.11  (this may take some time)...

:: problems summary :: :::: WARNINGS
                ::::::::::::::::::::::::::::::::::::::::::::::

                ::          UNRESOLVED DEPENDENCIES         ::

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

                :: org.fusesource.jansi#jansi;1.11: several problems occurred while resolving dependency: org.fusesource.jansi#jansi;1.11
{default=[default(compile)]}:
        java.util.NoSuchElementException
        java.util.NoSuchElementException
        java.util.NoSuchElementException
        java.util.NoSuchElementException
        java.util.NoSuchElementException

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



:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS unresolved
dependency: org.fusesource.jansi#jansi;1.11: several problems occurred
while resolving dependency: org.fusesource.jansi#jansi;1.11
{default=[default(compile)]}:
        java.util.NoSuchElementException
        java.util.NoSuchElementException
        java.util.NoSuchElementException
        java.util.NoSuchElementException
        java.util.NoSuchElementException Error during sbt execution: Error retrieving required libraries   (see
C:\Users\kwn917\.sbt\boot\update.log for complete log) Error: Could
not retrieve jansi 1.11

我已经在系统环境变量上设置了SCALA_HOME,SBT_HOME,JAVA_HOME并将它们添加到PATH,但这没有任何区别。

当我进入IntelliJ内的Jansi文件夹时,安装文件夹的版本有1.14(C:\ Program Files \ JetBrains \ IntelliJ IDEA 2017.3.2 \ plugins \ gradle \ lib),但在UI下方和UI中&安培;从命令行运行时,它正在寻找1.11?

请问这里有什么问题?

0 个答案:

没有答案