I am trying to use IntelliJ on a Windows 10 machine for Scala/SBT development. However I am receiving the below error every time I open a project with 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
I have the "2017.3.4 Ultimate Version" of IntelliJ and have downloaded the Plugins for SBT and Scala in the Settings option.
I have also tried to run the SBT command from the windows command prompt and get the same error below:
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
I have set a SCALA_HOME, SBT_HOME, JAVA_HOME and also added them to PATH, on the system environment variables, but this has made no difference.
When I go into the Jansi file folder within the IntelliJ install the version of folder there is 1.14 (C:\Program Files\JetBrains\IntelliJ IDEA 2017.3.2\plugins\gradle\lib), but below and in the UI & when running from command line it is looking for 1.11?
Any ideas as to what the issue is here please?