Error when important SBT from IntelliJ

Answered

In 2016 version 2, when I try to create a new Scala project with SBT, I got this message:

How can I can prevent this ?

Error:Error while importing SBT project:<br/>...<br/><pre>:::: ERRORS
Server access Error: Permission denied: connect url=https://jcenter.bintray.com/org/scala-sbt/classfile/0.13.7/classfile-0.13.7.pom

Server access Error: Permission denied: connect url=https://jcenter.bintray.com/org/scala-sbt/classfile/0.13.7/classfile-0.13.7.jar

Server access Error: Permission denied: connect url=https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/classfile/0.13.7/ivys/ivy.xml

Server access Error: Permission denied: connect url=https://jcenter.bintray.com/org/scala-sbt/compiler-ivy-integration/0.13.7/compiler-ivy-integration-0.13.7.pom

Server access Error: Permission denied: connect url=https://jcenter.bintray.com/org/scala-sbt/compiler-ivy-integration/0.13.7/compiler-ivy-integration-0.13.7.jar

Server access Error: Permission denied: connect url=https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/compiler-ivy-integration/0.13.7/ivys/ivy.xml


:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
unresolved dependency: org.scala-sbt#classfile;0.13.7: not found
unresolved dependency: org.scala-sbt#compiler-ivy-integration;0.13.7: not found
Error during sbt execution: Error retrieving required libraries
(see E:\.sbt\boot\update.log for complete log)
Error: Could not retrieve sbt 0.13.7</pre><br/>See complete log in <a href="C:\Users\asus1\.IdeaIC2016.2\system\log\sbt.last.log">C:\Users\asus1\.IdeaIC2016.2\system\log\sbt.last.log</a>

3 comments
Comment actions Permalink

Does it work from the command line SBT? It looks like some connection issue, probably related to a proxy or a firewall.

0
Comment actions Permalink

What is the SBT command line ?

0

Please sign in to leave a comment.