Where is the origin for the sbt error below? - sbt

The problem looks like below:
:: problems summary ::
:::: WARNINGS
module not found: org.scala-sbt#sbt;0.13.7
==== local: tried
/home/jiakui/.ivy2/local/org.scala-sbt/sbt/0.13.7/ivys/ivy.xml
-- artifact org.scala-sbt#sbt;0.13.7!sbt.jar:
/home/jiakui/.ivy2/local/org.scala-sbt/sbt/0.13.7/jars/sbt.jar
==== typesafe-ivy-releases: tried
https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt/0.13.7/ivys/ivy.xml
==== Maven Central: tried
https://repo1.maven.org/maven2/org/scala-sbt/sbt/0.13.7/sbt-0.13.7.pom
-- artifact org.scala-sbt#sbt;0.13.7!sbt.jar:
https://repo1.maven.org/maven2/org/scala-sbt/sbt/0.13.7/sbt-0.13.7.jar
::::::::::::::::::::::::::::::::::::::::::::::
:: UNRESOLVED DEPENDENCIES ::
::::::::::::::::::::::::::::::::::::::::::::::
:: org.scala-sbt#sbt;0.13.7: not found
::::::::::::::::::::::::::::::::::::::::::::::
:::: ERRORS
Server access Error: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target url=https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt/0.13.7/ivys/ivy.xml
Server access Error: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target url=https://repo1.maven.org/maven2/org/scala-sbt/sbt/0.13.7/sbt-0.13.7.pom
Server access Error: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target url=https://repo1.maven.org/maven2/org/scala-sbt/sbt/0.13.7/sbt-0.13.7.jar
:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
unresolved dependency: org.scala-sbt#sbt;0.13.7: not found
Error during sbt execution: Error retrieving required libraries
(see /home/jiakui/.sbt/boot/update.log for complete log)
Error: Could not retrieve sbt 0.13.7
+ exit 1

I finally found a workaround.
Run this at command line:
sudo /var/lib/dpkg/info/ca-certificates-java.postinst configure
The issue seems to be related to this one: https://github.com/docker-library/openjdk/issues/19 (at least for me).
It seem, as far as I understand, that this bug can get back at JDK9 =/

Related

Why does the sbt tutorial fail on adding the plugin?

I'm working thru the sbt introductory tutorial at https://www.scala-sbt.org/1.x/docs/sbt-by-example.html and when I reload after the step "Add sbt-native-packager plugin" which adds a plugin, it fails, with many warnings and errors, to a prompt of "Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore?" At that point sbt has basically died. I will append a full capture of the errors.
I believe I followed all instructions. What is going wrong?
I have tried:
Restarting sbt
Undoing the latest code the tutorial asked for (plugins.sbt and changes in build.sbt) and restarting sbt. Then sbt is live again, but of course as soon as I add the code back it dies again.
Adding resolvers for other repos that I know of,
The built-in resolvers mentioned in https://www.scala-sbt.org/1.x/docs/Resolvers.html
resolvers += "apache-repo" at "https://repo.maven.apache.org/maven2/com/typesafe/"
resolvers += "lightbend" at "https://repo.lightbend.com/typesafe/releases/"
resolvers += "lightbend" at "https://repo.lightbend.com/typesafe/ivy-releases/"
Totally replacing the "resolvers" variable in case an early one was poisoning the process.
Changing the requested version from "1.3.4" to other versions of sbt-native-
packager that I know exist. Basically the same story with different version numbers.
As I am new to Scala and sbt, I may be missing something elementary, but I'm just not seeing it.
Here is the complete error log:
[info] Loading settings for project foo-build-build from plugins.sbt ...
[info] Loading project definition from /home/tehom/projects/ic-fab/foo-build/project
[warn]
[warn] Note: Some unresolved dependencies have extra attributes. Check that these dependencies exist with the requested attributes.
[warn] com.typesafe.sbt:sbt-native-packager:1.3.4 (sbtVersion=1.0, scalaVersion=2.12)
[warn]
[warn] Note: Unresolved dependencies path:
[error] sbt.librarymanagement.ResolveException: Error downloading com.typesafe.sbt:sbt-native-packager;sbtVersion=1.0;scalaVersion=2.12:1.3.4
[error] Not found
[error] Not found
[error] not found: https://repo1.maven.org/maven2/com/typesafe/sbt/sbt-native-packager_2.12_1.0/1.3.4/sbt-native-packager-1.3.4.pom
[error] not found: /home/tehom/.ivy2/local/com.typesafe.sbt/sbt-native-packager/scala_2.12/sbt_1.0/1.3.4/ivys/ivy.xml
[error] download error: Caught javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target (PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target) while downloading https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.typesafe.sbt/sbt-native-packager/scala_2.12/sbt_1.0/1.3.4/ivys/ivy.xml
[error] download error: Caught javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target (PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target) while downloading https://repo.typesafe.com/typesafe/ivy-releases/com.typesafe.sbt/sbt-native-packager/scala_2.12/sbt_1.0/1.3.4/ivys/ivy.xml
[error] at lmcoursier.CoursierDependencyResolution.unresolvedWarningOrThrow(CoursierDependencyResolution.scala:246)
[error] at lmcoursier.CoursierDependencyResolution.$anonfun$update$34(CoursierDependencyResolution.scala:215)
[error] at scala.util.Either$LeftProjection.map(Either.scala:573)
[error] at lmcoursier.CoursierDependencyResolution.update(CoursierDependencyResolution.scala:215)
[error] at sbt.librarymanagement.DependencyResolution.update(DependencyResolution.scala:60)
[error] at sbt.internal.LibraryManagement$.resolve$1(LibraryManagement.scala:52)
[error] at sbt.internal.LibraryManagement$.$anonfun$cachedUpdate$12(LibraryManagement.scala:102)
[error] at sbt.util.Tracked$.$anonfun$lastOutput$1(Tracked.scala:69)
[error] at sbt.internal.LibraryManagement$.$anonfun$cachedUpdate$20(LibraryManagement.scala:115)
[error] at scala.util.control.Exception$Catch.apply(Exception.scala:228)
[error] at sbt.internal.LibraryManagement$.$anonfun$cachedUpdate$11(LibraryManagement.scala:115)
[error] at sbt.internal.LibraryManagement$.$anonfun$cachedUpdate$11$adapted(LibraryManagement.scala:96)
[error] at sbt.util.Tracked$.$anonfun$inputChanged$1(Tracked.scala:150)
[error] at sbt.internal.LibraryManagement$.cachedUpdate(LibraryManagement.scala:129)
[error] at sbt.Classpaths$.$anonfun$updateTask0$5(Defaults.scala:2947)
[error] at scala.Function1.$anonfun$compose$1(Function1.scala:49)
[error] at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62)
[error] at sbt.std.Transform$$anon$4.work(Transform.scala:67)
[error] at sbt.Execute.$anonfun$submit$2(Execute.scala:281)
[error] at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:19)
[error] at sbt.Execute.work(Execute.scala:290)
[error] at sbt.Execute.$anonfun$submit$1(Execute.scala:281)
[error] at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:178)
[error] at sbt.CompletionService$$anon$2.call(CompletionService.scala:37)
[error] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[error] at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
[error] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
[error] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
[error] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
[error] at java.base/java.lang.Thread.run(Thread.java:834)
[error] (update) sbt.librarymanagement.ResolveException: Error downloading com.typesafe.sbt:sbt-native-packager;sbtVersion=1.0;scalaVersion=2.12:1.3.4
[error] Not found
[error] Not found
[error] not found: https://repo1.maven.org/maven2/com/typesafe/sbt/sbt-native-packager_2.12_1.0/1.3.4/sbt-native-packager-1.3.4.pom
[error] not found: /home/tehom/.ivy2/local/com.typesafe.sbt/sbt-native-packager/scala_2.12/sbt_1.0/1.3.4/ivys/ivy.xml
[error] download error: Caught javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target (PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target) while downloading https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.typesafe.sbt/sbt-native-packager/scala_2.12/sbt_1.0/1.3.4/ivys/ivy.xml
[error] download error: Caught javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target (PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target) while downloading https://repo.typesafe.com/typesafe/ivy-releases/com.typesafe.sbt/sbt-native-packager/scala_2.12/sbt_1.0/1.3.4/ivys/ivy.xml
Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? q
I found out what was going wrong - approximately, anyways. Sbt and Java underneath it seemed to have had outdated security certificates. Odd, as I just installed it this week.
The command:
sudo /var/lib/dpkg/info/ca-certificates-java.postinst configure
updated the relevant certificates and then it worked.

How to install sbt on Google Cloud compute engine VM?

I go through the steps mentioned in the debian package installation procedure on the official sbt website. These steps work locally on my Ubuntu machine, however the same steps do not work in a Google Cloud Compute Engine VM. When I run sbt, I get the following error:
Getting org.scala-sbt sbt 0.13.8 ...
:: problems summary ::
:::: WARNINGS
module not found: org.scala-sbt#sbt;0.13.8
==== local: tried
/home/<homedir>/.ivy2/local/org.scala-sbt/sbt/0.13.8/ivys/ivy.xml
-- artifact org.scala-sbt#sbt;0.13.8!sbt.jar:
/home/<homedir>/.ivy2/local/org.scala-sbt/sbt/0.13.8/jars/sbt.jar
==== Maven Central: tried
https://repo1.maven.org/maven2/org/scala-sbt/sbt/0.13.8/sbt-0.13.8.pom
-- artifact org.scala-sbt#sbt;0.13.8!sbt.jar:
https://repo1.maven.org/maven2/org/scala-sbt/sbt/0.13.8/sbt-0.13.8.jar
==== typesafe-ivy-releases: tried
https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt/0.13.8/ivys/ivy.xml
==== sbt-ivy-snapshots: tried
https://repo.scala-sbt.org/scalasbt/ivy-snapshots/org.scala-sbt/sbt/0.13.8/ivys/ivy.xml
::::::::::::::::::::::::::::::::::::::::::::::
:: UNRESOLVED DEPENDENCIES ::
::::::::::::::::::::::::::::::::::::::::::::::
:: org.scala-sbt#sbt;0.13.8: not found
::::::::::::::::::::::::::::::::::::::::::::::
:::: ERRORS
Server access Error: java.lang.RuntimeException: Unexpected error:
java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty url=https://repo1.maven.org/maven2/org/scala-sbt/sbt/0.13.8/sbt-0.13.8.pom
Server access Error: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty url=https://repo1.maven.org/maven2/org/scala-sbt/sbt/0.13.8/sbt-0.13.8.jar
Server access Error: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty url=https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt/0.13.8/ivys/ivy.xml
Server access Error: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty url=https://repo.scala-sbt.org/scalasbt/ivy-snapshots/org.scala-sbt/sbt/0.13.8/ivys/ivy.xml
:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
unresolved dependency: org.scala-sbt#sbt;0.13.8: not found
Error during sbt execution: Error retrieving required libraries
(see /home/<homedir>/.sbt/boot/update.log for complete log)
Error: Could not retrieve sbt 0.13.8

How to create a new project with activator for Lagom

Just downloaded and installed the last version of the activator (1.3.10) following this guide.
The location where I installed the activator distro is writable and activator-1.3.10/bin was added to my $PATH.
Then, I tried to create a new project like this:
activator new test-project lagom-scala
... but I always get the following errors:
j3d#gonzo:~/Projects$ activator new test-project lagom-scala
Getting com.typesafe.activator activator-launcher 1.3.10 ...
:: problems summary ::
:::: WARNINGS
module not found: com.typesafe.activator#activator-launcher;1.3.10
==== local: tried
/home/j3d/.ivy2/local/com.typesafe.activator/activator-launcher/1.3.10/ivys/ivy.xml
-- artifact com.typesafe.activator#activator-launcher;1.3.10!activator-launcher.jar:
/home/j3d/.ivy2/local/com.typesafe.activator/activator-launcher/1.3.10/jars/activator-launcher.jar
==== activator-launcher-local: tried
file:/opt/activator-1.3.10-minimal/repository/com.typesafe.activator/activator-launcher/1.3.10/ivys/ivy.xml
==== Maven Central: tried
https://repo1.maven.org/maven2/com/typesafe/activator/activator-launcher/1.3.10/activator-launcher-1.3.10.pom
-- artifact com.typesafe.activator#activator-launcher;1.3.10!activator-launcher.jar:
https://repo1.maven.org/maven2/com/typesafe/activator/activator-launcher/1.3.10/activator-launcher-1.3.10.jar
==== typesafe-releases: tried
https://repo.typesafe.com/typesafe/releases/com/typesafe/activator/activator-launcher/1.3.10/activator-launcher-1.3.10.pom
-- artifact com.typesafe.activator#activator-launcher;1.3.10!activator-launcher.jar:
https://repo.typesafe.com/typesafe/releases/com/typesafe/activator/activator-launcher/1.3.10/activator-launcher-1.3.10.jar
==== typesafe-ivy-releasez: tried
https://repo.typesafe.com/typesafe/ivy-releases/com.typesafe.activator/activator-launcher/1.3.10/ivys/ivy.xml
::::::::::::::::::::::::::::::::::::::::::::::
:: UNRESOLVED DEPENDENCIES ::
::::::::::::::::::::::::::::::::::::::::::::::
:: com.typesafe.activator#activator-launcher;1.3.10: not found
::::::::::::::::::::::::::::::::::::::::::::::
:::: ERRORS
Server access Error: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty url=https://repo1.maven.org/maven2/com/typesafe/activator/activator-launcher/1.3.10/activator-launcher-1.3.10.pom
Server access Error: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty url=https://repo1.maven.org/maven2/com/typesafe/activator/activator-launcher/1.3.10/activator-launcher-1.3.10.jar
Server access Error: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty url=https://repo.typesafe.com/typesafe/releases/com/typesafe/activator/activator-launcher/1.3.10/activator-launcher-1.3.10.pom
Server access Error: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty url=https://repo.typesafe.com/typesafe/releases/com/typesafe/activator/activator-launcher/1.3.10/activator-launcher-1.3.10.jar
Server access Error: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty url=https://repo.typesafe.com/typesafe/ivy-releases/com.typesafe.activator/activator-launcher/1.3.10/ivys/ivy.xml
:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
unresolved dependency: com.typesafe.activator#activator-launcher;1.3.10: not found
Error during sbt execution: Error retrieving required libraries
(see /home/j3d/.sbt/boot/update.log for complete log)
Error: Could not retrieve activator-launcher 1.3.10
Any help would be really appreciaded.
Googling further I've found there is an issue on Ubuntu that can be solved as described here. I hope it helps.

Sbt install: You probably access the destination server through a proxy server that is not well configured

Getting net.java.dev.jna jna 3.2.3 ...
You probably access the destination server through a proxy server that is not well configured.
You probably access the destination server through a proxy server that is not well configured.
You probably access the destination server through a proxy server that is not well configured.
:: problems summary ::
:::: WARNINGS
Host repo.typesafe.com not found. url=http://repo.typesafe.com/typesafe/ivy-releases/net.java.dev.jna/jna/3.2.3/ivys/ivy.xml
Host repo1.maven.org not found. url=http://repo1.maven.org/maven2/net/java/dev/jna/jna/3.2.3/jna-3.2.3.pom
Host oss.sonatype.org not found. url=https://oss.sonatype.org/content/repositories/snapshots/net/java/dev/jna/jna/3.2.3/jna-3.2.3.pom
module not found: net.java.dev.jna#jna;3.2.3
==== local: tried
/root/.ivy2/local/net.java.dev.jna/jna/3.2.3/ivys/ivy.xml
==== typesafe-ivy-releases: tried
http://repo.typesafe.com/typesafe/ivy-releases/net.java.dev.jna/jna/3.2.3/ivys/ivy.xml
==== Maven Central: tried
http://repo1.maven.org/maven2/net/java/dev/jna/jna/3.2.3/jna-3.2.3.pom
==== sonatype-snapshots: tried
https://oss.sonatype.org/content/repositories/snapshots/net/java/dev/jna/jna/3.2.3/jna-3.2.3.pom
::::::::::::::::::::::::::::::::::::::::::::::
:: UNRESOLVED DEPENDENCIES ::
::::::::::::::::::::::::::::::::::::::::::::::
:: net.java.dev.jna#jna;3.2.3: not found
::::::::::::::::::::::::::::::::::::::::::::::
:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
unresolved dependency: net.java.dev.jna#jna;3.2.3: not found
Error during sbt execution: Error retrieving required libraries
(see /root/.sbt/boot/update.log for complete log)
Error: Could not retrieve jna 3.2.3
I think the answer is found in the log:
You probably access the destination server through a proxy server that is not well configured.
If you can use another proxy server you can set it in the sbt start script:
-Dhttp.proxyHost=<proxy> -Dhttp.proxyPort=<port>
For me, this problem was caused by a temporary issue with our company's DNS server. I mention this only because this question is one of the top results when searching online for the above error message.
In WINDOWS environment, simply add following line in the sbt/conf/sbtconfig.txt
-Dhttp.proxyHost=PROXYHOST
-Dhttp.proxyPort=PROXYPORT
-Dhttp.proxyUser=USERNAME
-Dhttp.proxyPassword=XXXX
or the Https equivalent
-Dhttps.proxyHost=PROXYHOST
-Dhttps.proxyPort=PROXYPORT
-Dhttps.proxyUser=USERNAME
-Dhttps.proxyPassword=XXXX
or simply set following variable on dos command prompt
set JAVA_OPTS=-Dhttp.proxyHost=XXXXXXX -Dhttp.proxyPort=YYYY -Dhttp.proxySet=true -Dhttps.proxyHost=XXXXXXX -Dhttps.proxyPort=YYYY -Dhttps.proxySet=true
Just change the web location http to https in ivysettings.xml file.

sbt install tries to find SshResolver

Installing sbt is supposed to be easy, but I've tried a number of different things without any luck. When I execute "sbt sbt-version" (see below) it throws an exception as it can't find the SshResolver which is not available in the sbt-launcher.jar (other resolvers are). So why is it trying to use SSH? My system is Windows 7 x64 connected wirelessly to a comcast cable modem. Since sbt-launcher is run by the java application, I've checked Avast to make sure that it is able to open any port for both input and output.
I run sbt as administrator and get the following output in the cmd window below and below that the log file.
I'm anxious to get this going as I'm losing time staying with the Coursera Reactive Programming Course.
Thanks!
Tom
C:\Windows\system32>sbt sbt-version
Getting net.java.dev.jna jna 3.2.3 ...
:: problems summary ::
:::: WARNINGS
module not found: net.java.dev.jna#jna;3.2.3
==== local: tried
C:\Users\tom\.ivy2\local\net.java.dev.jna\jna\3.2.3\ivys\ivy.xml
==== typesafe-ivy-releases: tried
http://repo.typesafe.com/typesafe/ivy-releases/net.java.dev.jna/jna/3.
2.3/ivys/ivy.xml
==== Maven Central: tried
http://repo1.maven.org/maven2/net/java/dev/jna/jna/3.2.3/jna-3.2.3.pom
==== sonatype-snapshots: tried
https://oss.sonatype.org/content/repositories/snapshots/net/java/dev/j
na/jna/3.2.3/jna-3.2.3.pom
::::::::::::::::::::::::::::::::::::::::::::::
:: UNRESOLVED DEPENDENCIES ::
::::::::::::::::::::::::::::::::::::::::::::::
:: net.java.dev.jna#jna;3.2.3: not found
::::::::::::::::::::::::::::::::::::::::::::::
:::: ERRORS
Server access Error: Connection timed out: connect url=http://repo.types
afe.com/typesafe/ivy-releases/net.java.dev.jna/jna/3.2.3/ivys/ivy.xml
Server access Error: Connection timed out: connect url=http://repo1.mave
n.org/maven2/net/java/dev/jna/jna/3.2.3/jna-3.2.3.pom
:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
unresolved dependency: net.java.dev.jna#jna;3.2.3: not found
Error during sbt execution: Error retrieving required libraries
(see C:\Users\tom\.sbt\boot\update.log for complete log)
Error: Could not retrieve jna 3.2.3
C:\Windows\system32>
--------------------------------------------------------------------------------------
Here is the LOG FILE:
------------------------------------------------------------------------------------------
setting 'ivy.default.settings.dir' to 'jar:file:/C:/Program%20Files%20(x86)/sbt/sbt-launch.jar!/org/apache/ivy/core/settings'
setting 'ivy.basedir' to 'C:\Windows\System32\.'
setting 'ivy.default.conf.dir' to 'jar:file:/C:/Program%20Files%20(x86)/sbt/sbt-launch.jar!/org/apache/ivy/core/settings'
impossible to define new type: class not found: org.apache.ivy.plugins.resolver.SshResolver in [] nor Ivy classloader
impossible to define new type: class not found: org.apache.ivy.plugins.resolver.VsftpResolver in [] nor Ivy classloader
impossible to define new type: class not found: org.apache.ivy.plugins.version.PatternVersionMatcher in [] nor Ivy classloader
impossible to define new type: class not found: org.apache.ivy.plugins.trigger.LogTrigger in [] nor Ivy classloader
impossible to define new type: class not found: org.apache.ivy.ant.AntBuildTrigger in [] nor Ivy classloader
impossible to define new type: class not found: org.apache.ivy.plugins.resolver.IvyRepResolver in [] nor Ivy classloader
impossible to define new type: class not found: org.apache.ivy.plugins.signer.bouncycastle.OpenPGPSignatureGenerator in [] nor Ivy classloader
impossible to define new type: class not found: org.apache.ivy.plugins.conflict.RegexpConflictManager in [] nor Ivy classloader
impossible to define new type: class not found: org.apache.ivy.plugins.resolver.SFTPResolver in [] nor Ivy classloader
impossible to define new type: class not found: org.apache.ivy.osgi.updatesite.UpdateSiteResolver in [] nor Ivy classloader
impossible to define new type: class not found: org.apache.ivy.ant.AntCallTrigger in [] nor Ivy classloader
impossible to define new type: class not found: org.apache.ivy.plugins.resolver.MirroredURLResolver in [] nor Ivy classloader
impossible to define new type: class not found: org.apache.ivy.plugins.resolver.packager.PackagerResolver in [] nor Ivy classloader
impossible to define new type: class not found: org.apache.ivy.plugins.resolver.DualResolver in [] nor Ivy classloader
impossible to define new type: class not found: org.apache.ivy.plugins.resolver.VfsResolver in [] nor Ivy classloader
impossible to define new type: class not found: org.apache.ivy.plugins.resolver.JarResolver in [] nor Ivy classloader
impossible to define new type: class not found: org.apache.ivy.osgi.obr.OBRResolver in [] nor Ivy classloader
impossible to define glob matcher: org.apache.ivy.plugins.matcher.GlobPatternMatcher was not found.
setting 'java.runtime.name' to 'Java(TM) SE Runtime Environment'
setting 'sun.boot.library.path' to 'c:\program files\java\jdk1.7.0_45\jre\bin'
setting 'java.vm.version' to '24.45-b08'
setting 'java.vm.vendor' to 'Oracle Corporation'
setting 'java.vendor.url' to 'http://java.oracle.com/'
setting 'path.separator' to ';'
setting 'java.vm.name' to 'Java HotSpot(TM) 64-Bit Server VM'
setting 'file.encoding.pkg' to 'sun.io'
setting 'user.country' to 'US'
setting 'user.script' to ''
setting 'sun.java.launcher' to 'SUN_STANDARD'
setting 'sun.os.patch.level' to 'Service Pack 1'
setting 'java.vm.specification.name' to 'Java Virtual Machine Specification'
setting 'user.dir' to 'C:\Windows\System32'
setting 'java.runtime.version' to '1.7.0_45-b18'
setting 'java.awt.graphicsenv' to 'sun.awt.Win32GraphicsEnvironment'
setting 'java.endorsed.dirs' to 'c:\program files\java\jdk1.7.0_45\jre\lib\endorsed'
setting 'os.arch' to 'amd64'
setting 'java.io.tmpdir' to 'C:\Users\tom\AppData\Local\Temp\'
setting 'line.separator' to '
'
setting 'java.vm.specification.vendor' to 'Oracle Corporation'
setting 'user.variant' to ''
setting 'os.name' to 'Windows 7'
setting 'sun.jnu.encoding' to 'Cp1252'
setting 'java.library.path' to 'c:\program files\java\jdk1.7.0_45\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\program files\java\jdk1.7.0_45\bin;c:\Program Files (x86)\apache-ant-1.8.4\bin;C:\Program Files (x86)\giter8\;D:\proguard4.8\bin;d:\JOGL1.1.1\lib;C:\Program Files (x86)\PHP\v5.3;C:\Program Files (x86)\Git\cmd;C:\Program Files (x86)\Heroku\bin;C:\Program Files (x86)\ruby-1.9.2\bin;C:\Program Files (x86)\git\bin;C:\Program Files (x86)\git\cmd;C:\Program Files (x86)\sbt\;;.'
setting 'java.specification.name' to 'Java Platform API Specification'
setting 'java.class.version' to '51.0'
setting 'sun.management.compiler' to 'HotSpot 64-Bit Tiered Compilers'
setting 'os.version' to '6.1'
setting 'user.home' to 'C:\Users\tom'
setting 'user.timezone' to 'America/Los_Angeles'
setting 'java.awt.printerjob' to 'sun.awt.windows.WPrinterJob'
setting 'file.encoding' to 'Cp1252'
setting 'java.specification.version' to '1.7'
setting 'sbt.log.format' to 'true'
setting 'java.class.path' to 'C:\Program Files (x86)\sbt\jansi.jar;C:\Program Files (x86)\sbt\sbt-launch.jar;C:\Program Files (x86)\sbt\classes'
setting 'user.name' to 'tom'
setting 'java.vm.specification.version' to '1.7'
setting 'sun.java.command' to 'SbtJansiLaunch sbt-version'
setting 'java.home' to 'c:\program files\java\jdk1.7.0_45\jre'
setting 'sun.arch.data.model' to '64'
setting 'user.language' to 'en'
setting 'java.specification.vendor' to 'Oracle Corporation'
setting 'awt.toolkit' to 'sun.awt.windows.WToolkit'
setting 'java.vm.info' to 'mixed mode'
setting 'java.version' to '1.7.0_45'
setting 'java.ext.dirs' to 'c:\program files\java\jdk1.7.0_45\jre\lib\ext;C:\Windows\Sun\Java\lib\ext'
setting 'sun.boot.class.path' to 'c:\program files\java\jdk1.7.0_45\jre\lib\resources.jar;c:\program files\java\jdk1.7.0_45\jre\lib\rt.jar;c:\program files\java\jdk1.7.0_45\jre\lib\sunrsasign.jar;c:\program files\java\jdk1.7.0_45\jre\lib\jsse.jar;c:\program files\java\jdk1.7.0_45\jre\lib\jce.jar;c:\program files\java\jdk1.7.0_45\jre\lib\charsets.jar;c:\program files\java\jdk1.7.0_45\jre\lib\jfr.jar;c:\program files\java\jdk1.7.0_45\jre\classes'
setting 'java.vendor' to 'Oracle Corporation'
setting 'file.separator' to '\'
setting 'java.vendor.url.bug' to 'http://bugreport.sun.com/bugreport/'
setting 'sun.io.unicode.encoding' to 'UnicodeLittle'
setting 'sun.cpu.endian' to 'little'
setting 'sun.desktop' to 'windows'
setting 'sun.cpu.isalist' to 'amd64'
setting 'ivy.default.ivy.user.dir' to 'C:\Users\tom\.ivy2'
setting 'ivy.home' to 'C:\Users\tom\.ivy2'
setting 'ivy.cache.dir' to 'C:\Users\tom\.ivy2\cache'
no default cache defined: set to C:\Users\tom\.ivy2\cache
setting 'ivy.checksums' to 'sha1,md5'
setting 'ivy.basedir' to 'C:\Users\tom\.sbt\boot'
setting 'basedir' to 'C:\Users\tom\.sbt\boot'
:: resolving dependencies :: org.scala-sbt#boot-jna;1.0
confs: [default]
validate = true
refresh = false
resolving dependencies for configuration 'default'
== resolving dependencies for org.scala-sbt#boot-jna;1.0 [default]
loadData of org.scala-sbt#boot-jna;1.0 of rootConf=default
== resolving dependencies org.scala-sbt#boot-jna;1.0->net.java.dev.jna#jna;3.2.3 [default->default(compile)]
loadData of net.java.dev.jna#jna;3.2.3 of rootConf=default
using redefined-public to resolve net.java.dev.jna#jna;3.2.3
redefined-public: Checking cache for: dependency: net.java.dev.jna#jna;3.2.3 {default=[default(compile)]}
redefined-public: no namespace defined: using system
no ivy file in cache for net.java.dev.jna#jna;3.2.3: tried C:\Users\tom\.ivy2\cache\net.java.dev.jna\jna\ivy-3.2.3.xml
redefined-public: no latest strategy defined: using default
local: no namespace defined: using system
no ivy file in cache for net.java.dev.jna#jna;3.2.3: tried C:\Users\tom\.ivy2\cache\net.java.dev.jna\jna\ivy-3.2.3.xml
trying C:\Users\tom\.ivy2\local\net.java.dev.jna\jna\3.2.3\ivys\ivy.xml
tried C:\Users\tom\.ivy2\local\net.java.dev.jna\jna\3.2.3\ivys\ivy.xml
local: resource not reachable for net.java.dev.jna#jna;3.2.3: res=C:\Users\tom\.ivy2\local\net.java.dev.jna\jna\3.2.3\ivys\ivy.xml
local: no ivy file found for net.java.dev.jna#jna;3.2.3
typesafe-ivy-releases: no namespace defined: using system
no ivy file in cache for net.java.dev.jna#jna;3.2.3: tried C:\Users\tom\.ivy2\cache\net.java.dev.jna\jna\ivy-3.2.3.xml
trying http://repo.typesafe.com/typesafe/ivy-releases/net.java.dev.jna/jna/3.2.3/ivys/ivy.xml
tried http://repo.typesafe.com/typesafe/ivy-releases/net.java.dev.jna/jna/3.2.3/ivys/ivy.xml
ERROR: Server access Error: Connection timed out: connect url=http://repo.typesafe.com/typesafe/ivy-releases/net.java.dev.jna/jna/3.2.3/ivys/ivy.xml
typesafe-ivy-releases: resource not reachable for net.java.dev.jna#jna;3.2.3: res=http://repo.typesafe.com/typesafe/ivy-releases/net.java.dev.jna/jna/3.2.3/ivys/ivy.xml
typesafe-ivy-releases: no ivy file found for net.java.dev.jna#jna;3.2.3
Maven Central: no namespace defined: using system
no ivy file in cache for net.java.dev.jna#jna;3.2.3: tried C:\Users\tom\.ivy2\cache\net.java.dev.jna\jna\ivy-3.2.3.xml
trying http://repo1.maven.org/maven2/net/java/dev/jna/jna/3.2.3/jna-3.2.3.pom
tried http://repo1.maven.org/maven2/net/java/dev/jna/jna/3.2.3/jna-3.2.3.pom
ERROR: Server access Error: Connection timed out: connect url=http://repo1.maven.org/maven2/net/java/dev/jna/jna/3.2.3/jna-3.2.3.pom
Maven Central: resource not reachable for net/java/dev/jna#jna;3.2.3: res=http://repo1.maven.org/maven2/net/java/dev/jna/jna/3.2.3/jna-3.2.3.pom
Maven Central: no ivy file found for net.java.dev.jna#jna;3.2.3
sonatype-snapshots: no namespace defined: using system
no ivy file in cache for net.java.dev.jna#jna;3.2.3: tried C:\Users\tom\.ivy2\cache\net.java.dev.jna\jna\ivy-3.2.3.xml
trying https://oss.sonatype.org/content/repositories/snapshots/net/java/dev/jna/jna/3.2.3/jna-3.2.3.pom
tried https://oss.sonatype.org/content/repositories/snapshots/net/java/dev/jna/jna/3.2.3/jna-3.2.3.pom
HTTP response status: 404 url=https://oss.sonatype.org/content/repositories/snapshots/net/java/dev/jna/jna/3.2.3/jna-3.2.3.pom
CLIENT ERROR: Retrieval of /net/java/dev/jna/jna/3.2.3/jna-3.2.3.pom from M2Repository(id=snapshots) is forbidden by repository policy SNAPSHOT. url=https://oss.sonatype.org/content/repositories/snapshots/net/java/dev/jna/jna/3.2.3/jna-3.2.3.pom
sonatype-snapshots: resource not reachable for net/java/dev/jna#jna;3.2.3: res=https://oss.sonatype.org/content/repositories/snapshots/net/java/dev/jna/jna/3.2.3/jna-3.2.3.pom
sonatype-snapshots: no ivy file found for net.java.dev.jna#jna;3.2.3
WARN: module not found: net.java.dev.jna#jna;3.2.3
WARN: ==== local: tried
WARN: C:\Users\tom\.ivy2\local\net.java.dev.jna\jna\3.2.3\ivys\ivy.xml
WARN: ==== typesafe-ivy-releases: tried
WARN: http://repo.typesafe.com/typesafe/ivy-releases/net.java.dev.jna/jna/3.2.3/ivys/ivy.xml
WARN: ==== Maven Central: tried
WARN: http://repo1.maven.org/maven2/net/java/dev/jna/jna/3.2.3/jna-3.2.3.pom
WARN: ==== sonatype-snapshots: tried
WARN: https://oss.sonatype.org/content/repositories/snapshots/net/java/dev/jna/jna/3.2.3/jna-3.2.3.pom
Nbr of module to sort : 0
resolved ivy file produced in C:\Users\tom\.sbt\boot\resolution-cache\resolved-org.scala-sbt-boot-jna-1.0.xml
:: downloading artifacts ::
:: resolution report :: resolve 43708ms :: artifacts dl 0ms
WARN: ::::::::::::::::::::::::::::::::::::::::::::::
WARN: :: UNRESOLVED DEPENDENCIES ::
WARN: ::::::::::::::::::::::::::::::::::::::::::::::
WARN: :: net.java.dev.jna#jna;3.2.3: not found
WARN: ::::::::::::::::::::::::::::::::::::::::::::::
Nbr of module to sort : 0
report for org.scala-sbt#boot-jna;1.0 default produced in C:\Users\tom\.sbt\boot\resolution-cache\org.scala-sbt-boot-jna-default.xml
resolve done (43708ms resolve - 0ms download)
:: problems summary ::
:::: WARNINGS
module not found: net.java.dev.jna#jna;3.2.3
==== local: tried
C:\Users\tom\.ivy2\local\net.java.dev.jna\jna\3.2.3\ivys\ivy.xml
==== typesafe-ivy-releases: tried
http://repo.typesafe.com/typesafe/ivy-releases/net.java.dev.jna/jna/3.2.3/ivys/ivy.xml
==== Maven Central: tried
http://repo1.maven.org/maven2/net/java/dev/jna/jna/3.2.3/jna-3.2.3.pom
==== sonatype-snapshots: tried
https://oss.sonatype.org/content/repositories/snapshots/net/java/dev/jna/jna/3.2.3/jna-3.2.3.pom
::::::::::::::::::::::::::::::::::::::::::::::
:: UNRESOLVED DEPENDENCIES ::
::::::::::::::::::::::::::::::::::::::::::::::
:: net.java.dev.jna#jna;3.2.3: not found
::::::::::::::::::::::::::::::::::::::::::::::
:::: ERRORS
Server access Error: Connection timed out: connect url=http://repo.typesafe.com/typesafe/ivy-releases/net.java.dev.jna/jna/3.2.3/ivys/ivy.xml
Server access Error: Connection timed out: connect url=http://repo1.maven.org/maven2/net/java/dev/jna/jna/3.2.3/jna-3.2.3.pom
:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
java.lang.RuntimeException: not found
at org.apache.ivy.core.resolve.IvyNode.loadData(IvyNode.java:238)
at org.apache.ivy.core.resolve.VisitNode.loadData(VisitNode.java:292)
at org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:695)
at org.apache.ivy.core.resolve.ResolveEngine.doFetchDependencies(ResolveEngine.java:780)
at org.apache.ivy.core.resolve.ResolveEngine.fetchDependencies(ResolveEngine.java:703)
at org.apache.ivy.core.resolve.ResolveEngine.getDependencies(ResolveEngine.java:575)
at org.apache.ivy.core.resolve.ResolveEngine.resolve(ResolveEngine.java:233)
at xsbt.boot.Update.xsbt$boot$Update$$lockedApply(Checks.java:105)
at xsbt.boot.Update$$anon$4.call(Update.scala:99)
at xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:98)
at xsbt.boot.Locks$GlobalLock.withChannelRetries$1(Locks.scala:81)
at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock$1.apply(Locks.scala:102)
at xsbt.boot.Using$.withResource(Using.scala:11)
at xsbt.boot.Using$.apply(Using.scala:10)
at xsbt.boot.Locks$GlobalLock.ignoringDeadlockAvoided(Locks.scala:62)
at xsbt.boot.Locks$GlobalLock.liftedTree1$1(Locks.scala:52)
at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:52)
at xsbt.boot.Locks$.apply0(Locks.scala:31)
at xsbt.boot.Locks$.apply(Locks.scala:28)
at xsbt.boot.Update.apply(Checks.java:100)
at xsbt.boot.Launch.update(Launch.scala:266)
at xsbt.boot.Launch$$anonfun$jnaLoader$1.apply(Launch.scala:111)
at scala.Option.getOrElse(Option.scala:108)
at xsbt.boot.Launch.jnaLoader$2f324eef(Launch.scala:106)
at xsbt.boot.Launch.<init>(Launch.scala:85)
at xsbt.boot.Launcher$.apply(Launch.scala:281)
at xsbt.boot.Launch$.apply(Launch.scala:16)
at xsbt.boot.Boot$.runImpl(Boot.scala:31)
at xsbt.boot.Boot$.main(Boot.scala:20)
at xsbt.boot.Boot.main(Boot.scala)
at SbtJansiLaunch.main(SbtJansiLaunch.java:4)
Error during sbt execution: Error retrieving required libraries
at xsbt.boot.Pre$.error(Pre.scala:22)
at xsbt.boot.Update.xsbt$boot$Update$$lockedApply(Checks.java:105)
at xsbt.boot.Update$$anon$4.call(Update.scala:99)
at xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:98)
at xsbt.boot.Locks$GlobalLock.withChannelRetries$1(Locks.scala:81)
at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock$1.apply(Locks.scala:102)
at xsbt.boot.Using$.withResource(Using.scala:11)
at xsbt.boot.Using$.apply(Using.scala:10)
at xsbt.boot.Locks$GlobalLock.ignoringDeadlockAvoided(Locks.scala:62)
at xsbt.boot.Locks$GlobalLock.liftedTree1$1(Locks.scala:52)
at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:52)
at xsbt.boot.Locks$.apply0(Locks.scala:31)
at xsbt.boot.Locks$.apply(Locks.scala:28)
at xsbt.boot.Update.apply(Checks.java:100)
at xsbt.boot.Launch.update(Launch.scala:266)
at xsbt.boot.Launch$$anonfun$jnaLoader$1.apply(Launch.scala:111)
at scala.Option.getOrElse(Option.scala:108)
at xsbt.boot.Launch.jnaLoader$2f324eef(Launch.scala:106)
at xsbt.boot.Launch.<init>(Launch.scala:85)
at xsbt.boot.Launcher$.apply(Launch.scala:281)
at xsbt.boot.Launch$.apply(Launch.scala:16)
at xsbt.boot.Boot$.runImpl(Boot.scala:31)
at xsbt.boot.Boot$.main(Boot.scala:20)
at xsbt.boot.Boot.main(Boot.scala)
at SbtJansiLaunch.main(SbtJansiLaunch.java:4)
Error during sbt execution: Error retrieving required libraries

Resources