sbt - Server access error: Connection reset? - scala

I got the following error when run sbt.
PS H:\> sbt
Getting org.fusesource.jansi jansi 1.11 (this may take some time)...
:: problems summary ::
:::: WARNINGS
module not found: org.fusesource.jansi#jansi;1.11
==== local: tried
C:\Users\user1\.ivy2\local\org.fusesource.jansi\jansi\1.11\ivys\ivy.xml
-- artifact org.fusesource.jansi#jansi;1.11!jansi.jar:
C:\Users\user1\.ivy2\local\org.fusesource.jansi\jansi\1.11\jars\jansi.jar
==== local-preloaded-ivy: tried
file:/C:/Users/user1/.sbt/preloaded/org.fusesource.jansi/jansi/1.11/ivys/ivy.xml
==== local-preloaded: tried
file:/C:/Users/user1/.sbt/preloaded/org/fusesource/jansi/jansi/1.11/jansi-1.11.pom
-- artifact org.fusesource.jansi#jansi;1.11!jansi.jar:
file:/C:/Users/user1/.sbt/preloaded/org/fusesource/jansi/jansi/1.11/jansi-1.11.jar
==== Maven Central: tried
https://repo1.maven.org/maven2/org/fusesource/jansi/jansi/1.11/jansi-1.11.pom
-- artifact org.fusesource.jansi#jansi;1.11!jansi.jar:
https://repo1.maven.org/maven2/org/fusesource/jansi/jansi/1.11/jansi-1.11.jar
==== typesafe-ivy-releases: tried
https://repo.typesafe.com/typesafe/ivy-releases/org.fusesource.jansi/jansi/1.11/ivys/ivy.xml
==== sbt-ivy-snapshots: tried
https://repo.scala-sbt.org/scalasbt/ivy-snapshots/org.fusesource.jansi/jansi/1.11/ivys/ivy.xml
::::::::::::::::::::::::::::::::::::::::::::::
:: UNRESOLVED DEPENDENCIES ::
::::::::::::::::::::::::::::::::::::::::::::::
:: org.fusesource.jansi#jansi;1.11: not found
::::::::::::::::::::::::::::::::::::::::::::::
:::: ERRORS
Server access Error: Connection reset url=https://repo1.maven.org/maven2/org/fusesource/jansi/jansi/1.11/jansi-1.11.pom
Server access Error: Connection reset url=https://repo1.maven.org/maven2/org/fusesource/jansi/jansi/1.11/jansi-1.11.jar
Server access Error: Connection reset url=https://repo.typesafe.com/typesafe/ivy-releases/org.fusesource.jansi/jansi/1.11/ivys/ivy.xml
Server access Error: Connection reset 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\user1\.sbt\boot\update.log for complete log)
Error: Could not retrieve jansi 1.11
However, I can get the file using wget?
PS H:\> wget https://repo1.maven.org/maven2/org/fusesource/jansi/jansi/1.11/jansi-1.11.pom
StatusCode : 200
StatusDescription : OK
Content : <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 h...
......
Update:
The following error message is from update.log.
ERROR: Server access Error: Connection reset
url=https://repo1.maven.org/maven2/org/fusesource/jansi/jansi/1.11/jansi-1.11.pom
Maven Central: resource not reachable for
org/fusesource/jansi#jansi;1.11:
res=https://repo1.maven.org/maven2/org/fusesource/jansi/jansi/1.11/jansi-1.11.pom
trying
https://repo1.maven.org/maven2/org/fusesource/jansi/jansi/1.11/jansi-1.11.jar
tried
https://repo1.maven.org/maven2/org/fusesource/jansi/jansi/1.11/jansi-1.11.jar
ERROR: Server access Error: Connection reset
url=https://repo1.maven.org/maven2/org/fusesource/jansi/jansi/1.11/jansi-1.11.jar
Maven Central: resource not reachable for
org/fusesource/jansi#jansi;1.11:
res=https://repo1.maven.org/maven2/org/fusesource/jansi/jansi/1.11/jansi-1.11.jar
Maven Central: no ivy file nor artifact found for
org.fusesource.jansi#jansi;1.11 typesafe-ivy-releases: no namespace
defined: using system no ivy file in cache for
org.fusesource.jansi#jansi;1.11: tried
C:\Users\user1.ivy2\cache\org.fusesource.jansi\jansi\ivy-1.11.xml
trying
https://repo.typesafe.com/typesafe/ivy-releases/org.fusesource.jansi/jansi/1.11/ivys/ivy.xml
tried
https://repo.typesafe.com/typesafe/ivy-releases/org.fusesource.jansi/jansi/1.11/ivys/ivy.xml
ERROR: Server access Error: Connection reset
url=https://repo.typesafe.com/typesafe/ivy-releases/org.fusesource.jansi/jansi/1.11/ivys/ivy.xml
typesafe-ivy-releases: resource not reachable for
org.fusesource.jansi#jansi;1.11:
res=https://repo.typesafe.com/typesafe/ivy-releases/org.fusesource.jansi/jansi/1.11/ivys/ivy.xml
typesafe-ivy-releases: no ivy file found for
org.fusesource.jansi#jansi;1.11 sbt-ivy-snapshots: no namespace
defined: using system no ivy file in cache for
org.fusesource.jansi#jansi;1.11: tried
C:\Users\user1.ivy2\cache\org.fusesource.jansi\jansi\ivy-1.11.xml
trying
https://repo.scala-sbt.org/scalasbt/ivy-snapshots/org.fusesource.jansi/jansi/1.11/ivys/ivy.xml
tried
https://repo.scala-sbt.org/scalasbt/ivy-snapshots/org.fusesource.jansi/jansi/1.11/ivys/ivy.xml
ERROR: Server access Error: Connection reset
url=https://repo.scala-sbt.org/scalasbt/ivy-snapshots/org.fusesource.jansi/jansi/1.11/ivys/ivy.xml
sbt-ivy-snapshots: resource not reachable for
org.fusesource.jansi#jansi;1.11:
res=https://repo.scala-sbt.org/scalasbt/ivy-snapshots/org.fusesource.jansi/jansi/1.11/ivys/ivy.xml
sbt-ivy-snapshots: no ivy file found for
org.fusesource.jansi#jansi;1.11

looks like this is not a Powershell issue at all, regardless if you're receiving the error when using Powershell. Per the top of the error, looks like you're missing dependencies:
module not found: org.fusesource.jansi#jansi;1.11
the fact that wget works but sbt doesn't is because they are entirely different applications / exe's; wget is an alias for the Powershell cmdlet Invoke-WebRequest (run Get-Command wget to see this for yourself), while sbt is it's own application that I've honestly never heard or personally.

I found the issue - need to set proxy settings for https too.

Related

Error while importing SBT project, even after making changes to VM ware parameters

I am trying to import sbt and other dependencies in my IntelliJ and it fails with the below error.
I have tried the solutions given at unresolved dependencies - Error while importing SBT project
but it does not work.
Below is the log of error:
Error while importing sbt project:
Java version: 1.7
VM ware : Latest Edition Licensed
Getting org.scala-sbt sbt 1.2.1 (this may take some time)...
unresolved dependency: org.scala-sbt#sbt;1.2.1: not found
(see /home/cloudera/.sbt/boot/update.log for complete log)
Error: Could not retrieve sbt 1.2.1
:: problems summary ::
:::: WARNINGS
module not found: org.scala-sbt#sbt;1.2.1
==== local: tried
/home/cloudera/.ivy2/local/org.scala-sbt/sbt/1.2.1/ivys/ivy.xml
-- artifact org.scala-sbt#sbt;1.2.1!sbt.jar:
/home/cloudera/.ivy2/local/org.scala-sbt/sbt/1.2.1/jars/sbt.jar
==== local-preloaded-ivy: tried
file:////home/cloudera/.sbt/preloaded/org.scala-sbt/sbt/1.2.1/ivys/ivy.xml
==== local-preloaded: tried
file:////home/cloudera/.sbt/preloaded/org/scala-sbt/sbt/1.2.1/sbt-1.2.1.pom
-- artifact org.scala-sbt#sbt;1.2.1!sbt.jar:
file:////home/cloudera/.sbt/preloaded/org/scala-sbt/sbt/1.2.1/sbt-1.2.1.jar
==== Maven Central: tried
https://repo1.maven.org/maven2/org/scala-sbt/sbt/1.2.1/sbt-1.2.1.pom
-- artifact org.scala-sbt#sbt;1.2.1!sbt.jar:
https://repo1.maven.org/maven2/org/scala-sbt/sbt/1.2.1/sbt-1.2.1.jar
==== sbt-maven-releases: tried
https://repo.scala-sbt.org/scalasbt/maven-releases/org/scala-sbt/sbt/1.2.1/sbt-1.2.1.pom
-- artifact org.scala-sbt#sbt;1.2.1!sbt.jar:
https://repo.scala-sbt.org/scalasbt/maven-releases/org/scala-sbt/sbt/1.2.1/sbt-1.2.1.jar
==== sbt-maven-snapshots: tried
https://repo.scala-sbt.org/scalasbt/maven-snapshots/org/scala-sbt/sbt/1.2.1/sbt-1.2.1.pom
-- artifact org.scala-sbt#sbt;1.2.1!sbt.jar:
https://repo.scala-sbt.org/scalasbt/maven-snapshots/org/scala-sbt/sbt/1.2.1/sbt-1.2.1.jar
==== typesafe-ivy-releases: tried
https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt/1.2.1/ivys/ivy.xml
==== sbt-ivy-snapshots: tried
https://repo.scala-sbt.org/scalasbt/ivy-snapshots/org.scala-sbt/sbt/1.2.1/ivys/ivy.xml
::::::::::::::::::::::::::::::::::::::::::::::
:: UNRESOLVED DEPENDENCIES ::
::::::::::::::::::::::::::::::::::::::::::::::
:: org.scala-sbt#sbt;1.2.1: not found
::::::::::::::::::::::::::::::::::::::::::::::
:::: ERRORS
Server access Error: Received fatal alert: protocol_version url=https://repo1.maven.org/maven2/org/scala-sbt/sbt/1.2.1/sbt-1.2.1.pom
Server access Error: Received fatal alert: protocol_version url=https://repo1.maven.org/maven2/org/scala-sbt/sbt/1.2.1/sbt-1.2.1.jar
Server access Error: Connection reset url=https://repo.scala-sbt.org/scalasbt/maven-releases/org/scala-sbt/sbt/1.2.1/sbt-1.2.1.pom
Server access Error: Connection reset url=https://repo.scala-sbt.org/scalasbt/maven-releases/org/scala-sbt/sbt/1.2.1/sbt-1.2.1.jar
Server access Error: Connection reset url=https://repo.scala-sbt.org/scalasbt/maven-snapshots/org/scala-sbt/sbt/1.2.1/sbt-1.2.1.pom
Server access Error: Connection reset url=https://repo.scala-sbt.org/scalasbt/maven-snapshots/org/scala-sbt/sbt/1.2.1/sbt-1.2.1.jar
Server access Error: Connection reset url=https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt/1.2.1/ivys/ivy.xml
Server access Error: Connection reset url=https://repo.scala-sbt.org/scalasbt/ivy-snapshots/org.scala-sbt/sbt/1.2.1/ivys/ivy.xml
:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
Error during sbt execution: Error retrieving required libraries
This is a common issue with cloudera VM ware. The jdk version is 1.7 and scala 2.12 needs jdk version 1.8.
Download latest jdk and extract it on desktop. And when you open a new project for scala make sure your jdk is pointed to the latest one you downloaded.( by default it will use the jdk 1.7 which comes packged with cloudera VM ware.
Hopefully this helps.

Could not retrieve Sbt 0.13.15 while importing project

I am usig Intellij IDEA 2017.1.5 with Scala plugin installed. I created my first Scala project with SBT. I get following error while importing SBT project:
:: problems summary :: :::: WARNINGS problem while downloading module
descriptor:
https://repo1.maven.org/maven2/org/scala-sbt/ivy/ivy/2.3.0-sbt-48dd0744422128446aee9ac31aa356ee203cc9f4/ivy-2.3.0-sbt-48dd0744422128446aee9ac31aa356ee203cc9f4.pom:
Read timed out (19336ms)
module not found:
org.scala-sbt.ivy#ivy;2.3.0-sbt-48dd0744422128446aee9ac31aa356ee203cc9f4
==== local: tried
C:\Users\Kacper\.ivy2\local\org.scala-sbt.ivy\ivy\2.3.0-sbt-48dd0744422128446aee9ac31aa356ee203cc9f4\ivys\ivy.xml
-- artifact org.scala-sbt.ivy#ivy;2.3.0-sbt-48dd0744422128446aee9ac31aa356ee203cc9f4!ivy.jar:
C:\Users\Kacper\.ivy2\local\org.scala-sbt.ivy\ivy\2.3.0-sbt-48dd0744422128446aee9ac31aa356ee203cc9f4\jars\ivy.jar
==== Maven Central: tried
https://repo1.maven.org/maven2/org/scala-sbt/ivy/ivy/2.3.0-sbt-48dd0744422128446aee9ac31aa356ee203cc9f4/ivy-2.3.0-sbt-48dd0744422128446aee9ac31aa356ee203cc9f4.pom
==== typesafe-ivy-releases: tried
https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt.ivy/ivy/2.3.0-sbt-48dd0744422128446aee9ac31aa356ee203cc9f4/ivys/ivy.xml
==== sbt-ivy-snapshots: tried
https://repo.scala-sbt.org/scalasbt/ivy-snapshots/org.scala-sbt.ivy/ivy/2.3.0-sbt-48dd0744422128446aee9ac31aa356ee203cc9f4/ivys/ivy.xml
::::::::::::::::::::::::::::::::::::::::::::::
:: UNRESOLVED DEPENDENCIES ::
::::::::::::::::::::::::::::::::::::::::::::::
::
org.scala-sbt.ivy#ivy;2.3.0-sbt-48dd0744422128446aee9ac31aa356ee203cc9f4:
not found
::::::::::::::::::::::::::::::::::::::::::::::
:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS unresolved
dependency:
org.scala-sbt.ivy#ivy;2.3.0-sbt-48dd0744422128446aee9ac31aa356ee203cc9f4:
not found Error during sbt execution: Error retrieving required
libraries (see C:\Users\Kacper\.sbt\boot\update.log for complete log)
Error: Could not retrieve sbt 0.13.14 Java HotSpot(TM) 64-Bit Server
VM warning: ignoring option MaxPermSize=384M; support was removed in
8.0
I get the same error while getting sbt 0.13.15 and 0.13.14.

while running console from SBT getting error "Couldn't retrieve source module: org.scala-sbt:compiler-interface:0.13.13:component"

on Window command i install Scala and SBT .
while running console command from SBT getting below error .
can some one help me to resolve this issue ?
getting below error
>sbt
Java HotSpot(TM) Client VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
[info] Set current project to sujitd (in build file:/C:/Users/sujitd/)
> console
[info] Compiling 1 Scala source to C:\Users\sujitd\target\scala-2.10\classes...
[info] Resolving org.scala-sbt#interface;0.13.13 ...
[warn] Host repo1.maven.org not found. url=https://repo1.maven.org/maven2/org/scala-sbt/compiler-interface/0.13.13/compiler-interface-0.13.13-sources.jar
[info] You probably access the destination server through a proxy server that is not well configured.
[warn] Host repo.typesafe.com not found. url=https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/compiler-interface/0.13.13/srcs/compiler-interface-sources.jar
[info] You probably access the destination server through a proxy server that is not well configured.
[warn] Host repo.scala-sbt.org not found. url=https://repo.scala-sbt.org/scalasbt/ivy-snapshots/org.scala-sbt/compiler-interface/0.13.13/srcs/compiler-interface-sources.jar
[info] You probably access the destination server through a proxy server that is not well configured.
[warn] [FAILED ] org.scala-sbt#compiler-interface;0.13.13!compiler-interface.jar(src): (0ms)
[warn] ==== local: tried
[warn] C:\Users\sujitd\.ivy2\local\org.scala-sbt\compiler-interface\0.13.13\srcs\compiler-interface-sources.jar
[warn] ==== public: tried
[warn] https://repo1.maven.org/maven2/org/scala-sbt/compiler-interface/0.13.13/compiler-interface-0.13.13-sources.jar
[warn] ==== typesafe-ivy-releases: tried
[warn] https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/compiler-interface/0.13.13/srcs/compiler-interface-sources.jar
[warn] ==== sbt-ivy-snapshots: tried
[warn] https://repo.scala-sbt.org/scalasbt/ivy-snapshots/org.scala-sbt/compiler-interface/0.13.13/srcs/compiler-interface-sources.jar
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: FAILED DOWNLOADS ::
[warn] :: ^ see resolution messages for details ^ ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: org.scala-sbt#compiler-interface;0.13.13!compiler-interface.jar(src)
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[trace] Stack trace suppressed: run last compile:compileIncremental for the full output.
[error] (compile:compileIncremental) sbt.InvalidComponent: Couldn't retrieve source module: org.scala-sbt:compiler-interface:0.13.13:component
[error] Total time: 2 s, completed Apr 7, 2017 9:59:20 AM
I had a similar issue and while I am not sure what was causing it, here's a workaround that solved it for me:
Download compiler-interface.jar from maven for your version of sbt and put it in the local ivy cache.
Check sbt output to see local cache path for your system:
[warn] ==== local: tried
[warn] C:\Users\sujitd\.ivy2\local\org.scala-sbt\compiler-interface\0.13.13\srcs\compiler-interface-sources.jar
So, in this case you should put compiler-interface-sources.jar in C:\Users\sujitd\.ivy2\local\org.scala-sbt\compiler-interface\0.13.13\srcs\

Upgraded to sbt 0.13.9; now I cannot launch sbt

I upgraded sbt from version 0.13.8 to 0.13.9. We have Nexus proxying many repositories. Now, when I issue 'sbt' command - I get unresolved dependencies
scala-library
scala-compilre
scala-reflect
all due to sha1 different from the computed. Is there a way to bypass sha1 validation?
FYI. setting checksums in update := Nil in build.sbt does not solve the problem. I even tried putting
<property name="ivy.checksums" value=""/> in ~/.ivy/ivysettings.xml still fails.
here is the console output:
D:\Temp\test>sbt -v update
Getting org.scala-sbt sbt 0.13.9 ...
:: problems summary ::
:::: WARNINGS
problem while downloading module descriptor: http://nexusserver:8081/nexus/content/groups/mvn-repositories/org/scala-lang/scala-library/2.10.5/scala-library-2.10.5.pom: invalid sha1: expected=c39e31e37ce77d8d5fb8e8c640222275815d36f2 computed=4e8b721680f2defb491fe90447302658d464d5c
0 (351ms)
module not found: org.scala-lang#scala-library;2.10.5
==== local: tried
C:\Users\ak\.ivy2\local\org.scala-lang\scala-library\2.10.5\ivys\ivy.xml
-- artifact org.scala-lang#scala-library;2.10.5!scala-library.jar:
C:\Users\ak\.ivy2\local\org.scala-lang\scala-library\2.10.5\jars\scala-library.jar
==== my-ivy-proxy-releases: tried
http://nexusserver:8081/nexus/content/groups/ivy-releases/org.scala-lang/scala-library/2.10.5/ivys/ivy.xml
==== my-maven-proxy-releases: tried
http://nexusserver:8081/nexus/content/groups/mvn-repositories/org/scala-lang/scala-library/2.10.5/scala-library-2.10.5.pom
problem while downloading module descriptor: http://nexusserver:8081/nexus/content/groups/mvn-repositories/org/scala-lang/scala-compiler/2.10.5/scala-compiler-2.10.5.pom: invalid sha1: expected=9a85822af1f9ea46b49dfdfa99eafc0bd819abaf computed=c3e0b6cf2f45a5a7cb052ef9e00f8fdac55e7
1b7 (69ms)
module not found: org.scala-lang#scala-compiler;2.10.5
==== local: tried
C:\Users\ak\.ivy2\local\org.scala-lang\scala-compiler\2.10.5\ivys\ivy.xml
-- artifact org.scala-lang#scala-compiler;2.10.5!scala-compiler.jar:
C:\Users\ak\.ivy2\local\org.scala-lang\scala-compiler\2.10.5\jars\scala-compiler.jar
==== my-ivy-proxy-releases: tried
http://nexusserver:8081/nexus/content/groups/ivy-releases/org.scala-lang/scala-compiler/2.10.5/ivys/ivy.xml
==== my-maven-proxy-releases: tried
http://nexusserver:8081/nexus/content/groups/mvn-repositories/org/scala-lang/scala-compiler/2.10.5/scala-compiler-2.10.5.pom
problem while downloading module descriptor: http://nexusserver:8081/nexus/content/groups/mvn-repositories/org/scala-lang/scala-reflect/2.10.5/scala-reflect-2.10.5.pom: invalid sha1: expected=3a6fa11041ac0c8b4d5fcf9d4f1372ba8c0b7216 computed=30f1f646114a79eeefb254ead190f045c460564
9 (67ms)
module not found: org.scala-lang#scala-reflect;2.10.5
==== local: tried
C:\Users\ak\.ivy2\local\org.scala-lang\scala-reflect\2.10.5\ivys\ivy.xml
-- artifact org.scala-lang#scala-reflect;2.10.5!scala-reflect.jar:
C:\Users\ak\.ivy2\local\org.scala-lang\scala-reflect\2.10.5\jars\scala-reflect.jar
==== my-ivy-proxy-releases: tried
http://nexusserver:8081/nexus/content/groups/ivy-releases/org.scala-lang/scala-reflect/2.10.5/ivys/ivy.xml
==== my-maven-proxy-releases: tried
http://nexusserver:8081/nexus/content/groups/mvn-repositories/org/scala-lang/scala-reflect/2.10.5/scala-reflect-2.10.5.pom
::::::::::::::::::::::::::::::::::::::::::::::
:: UNRESOLVED DEPENDENCIES ::
::::::::::::::::::::::::::::::::::::::::::::::
:: org.scala-lang#scala-library;2.10.5: not found
:: org.scala-lang#scala-compiler;2.10.5: not found
:: org.scala-lang#scala-reflect;2.10.5: not found
::::::::::::::::::::::::::::::::::::::::::::::
:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
unresolved dependency: org.scala-lang#scala-library;2.10.5: not found
unresolved dependency: org.scala-lang#scala-compiler;2.10.5: not found
unresolved dependency: org.scala-lang#scala-reflect;2.10.5: not found
Error during sbt execution: Error retrieving required libraries
(see C:\Users\ak\.sbt\boot\update.log for complete log)
Error: Could not retrieve sbt 0.13.9
It turned out to be an ordering issue with our Nexus proxy repositories. oss.sonatype.org maven repo was causing an issue when it was placed ahead of the Maven Central repo. Removing oss.sonatype.org maven repository solved the problem.

unresolved dependency: org.scala-tools.sbinary#sbinary_2.9.0;0.4.0: not found

I'm trying a toolkit named junto to do label propagation.
When I compile it, it downloads Scala.
However, an unresolved dependency appeared in the process.
The detailed information is here:
:: problems summary ::
:::: WARNINGS
module not found: org.scala-tools.sbinary#sbinary_2.9.0;0.4.0
==== local: tried
/root/.ivy2/local/org.scala-tools.sbinary/sbinary_2.9.0/0.4.0/ivys/ivy.xml
==== typesafe-ivy-releases: tried
repo.typesafe.com/typesafe/ivy-releases/org.scala-tools.sbinary/sbinary_2.9.0/0.4.0/ivys/ivy.xml
==== Maven Central: tried
repo1.maven.org/maven2/org/scala-tools/sbinary/sbinary_2.9.0/0.4.0/sbinary_2.9.0-0.4.0.pom
==== sonatype-snapshots: tried
oss.sonatype.org/content/repositories/snapshots/org/scala-tools/sbinary/sbinary_2.9.0/0.4.0/sbinary_2.9.0-0.4.0.pom
::::::::::::::::::::::::::::::::::::::::::::::
:: UNRESOLVED DEPENDENCIES ::
::::::::::::::::::::::::::::::::::::::::::::::
:: org.scala-tools.sbinary#sbinary_2.9.0;0.4.0: not found
::::::::::::::::::::::::::::::::::::::::::::::
:::: ERRORS
Server access Error: Connection timed out url=https://oss.sonatype.org/content/repositories/snapshots/org/sonatype/oss/oss-parent/7/oss-parent-7.jar
SERVER ERROR: Service Unavailable url=http://repo1.maven.org/maven2/org/scala-tools/sbinary/sbinary_2.9.0/0.4.0/sbinary_2.9.0-0.4.0.pom
Server access Error: Connection timed out url=https://oss.sonatype.org/content/repositories/snapshots/org/scala-tools/sbinary/sbinary_2.9.0/0.4.0/sbinary_2.9.0-0.4.0.pom
Server access Error: Connection timed out url=https://oss.sonatype.org/content/repositories/snapshots/org/apache/apache/7/apache-7.jar
Server access Error: Connection timed out url=https://oss.sonatype.org/content/repositories/snapshots/org/sonatype/oss/oss-parent/6/oss-parent-6.jar
:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
unresolved dependency: org.scala-tools.sbinary#sbinary_2.9.0;0.4.0: not found
Error during sbt execution: Error retrieving required libraries
(see /root/.sbt/boot/update.log for complete log)
Error: Could not retrieve sbt 0.12.0
download the jar as unmanaged dependency:
http://mvnrepository.com/artifact/org.scala-tools.sbinary/sbinary_2.9.0/0.4.0
and put it under lib_unmanaged folder in the project directory.
or add a repository that contains it: http://repo1.maven.org/maven2/
http://repo1.maven.org/maven2/org/scala-tools/sbinary/sbinary_2.9.0/0.4.0/
add to pom.xml between:
<repositories>
...
</repositories>
the following:
<repository>
<id>central</id>
<name>Maven Central</name>
<url>http://repo1.maven.org/maven2</url>
</repository>
or:
<repository>
<id>mvnrepository</id>
<name>mvnrepository</name>
<url>http://mvnrepository.com/artifact</url>
</repository>
if you are using sbt, you should add in build.sbt the following:
resolvers += "mvnrepository" at "http://mvnrepository.com/artifact/"
or:
resolvers += "central" at "http://repo1.maven.org/maven2/"