Missing binaries after SCALA installation

I am newbie to SCALA. I installed SCALA sbt on my windows machine. I am trying to execute a sample scala program using ‘sbt new scala/hello-world.g8’ command, but it is throwing below error,
::::::::::::::::::::::::::::::::::::::::::::::

            ::          UNRESOLVED DEPENDENCIES         ::

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

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

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

:::: ERRORS
Server access Error: Permission denied: connect url=https://repo1.maven.org/maven2/org/fusesource/jansi/jansi/1.11/jansi-1.11.pom

    Server access Error: Permission denied: connect url=https://repo1.maven.org/maven2/org/fusesource/jansi/jansi/1.11/jansi-1.11.jar

    Server access Error: Permission denied: connect url=https://repo.scala-sbt.org/scalasbt/maven-releases/org/fusesource/jansi/jansi/1.11/jansi-1.11.pom

    Server access Error: Permission denied: connect url=https://repo.scala-sbt.org/scalasbt/maven-releases/org/fusesource/jansi/jansi/1.11/jansi-1.11.jar

    Server access Error: Permission denied: connect url=https://repo.scala-sbt.org/scalasbt/maven-snapshots/org/fusesource/jansi/jansi/1.11/jansi-1.11.pom

    Server access Error: Permission denied: connect url=https://repo.scala-sbt.org/scalasbt/maven-snapshots/org/fusesource/jansi/jansi/1.11/jansi-1.11.jar

    Server access Error: Permission denied: connect url=https://repo.typesafe.com/typesafe/ivy-releases/org.fusesource.jansi/jansi/1.11/ivys/ivy.xml

    Server access Error: Permission denied: connect url=https://repo.scala-sbt.org/scalasbt/ivy-snapshots/org.fusesource.jansi/jansi/1.11/ivys/ivy.xml

:: 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\Amit.sbt\boot\update.log for complete log)
Error: Could not retrieve jansi 1.11

Can someone please help me to resolve this error?

Hello,

Are you running this behind a firewall?

 Best, Oliver
1 Like

Yes I am running scala behind the firewall.

I guess you’d have to open the firewall enough to allow SBT to get those things. Not sure what SBT uses - HTTP?

I was once working at a company where SBT could not download dependencies while on company VPN. In my case, the solution was to get out of the VPN whenever dependencies needed to be downloaded and get back on VPN afterwards.