SBT 0.13.6 Windows 8 - Unresolved Dependencies

I am new to Scala and SBT. I read something about SBT being a good build tool for Scala; so I went to the page and loaded it.

I started working with seizures and did not work: - (

Getting org.fusesource.jansi jansi 1.11 ... :: problems summary :: :::: WARNINGS module not found: org.fusesource.jansi#jansi;1.11 ==== local: tried C:\Users\raoel\.ivy2\local\org.fusesource.jansi\jansi\1.11\ivys\ivy.xml -- artifact org.fusesource.jansi#jansi;1.11!jansi.jar: C:\Users\raoel\.ivy2\local\org.fusesource.jansi\jansi\1.11\jars\jansi.jar ==== typesafe-ivy-releases: tried https://repo.typesafe.com/typesafe/ivy-releases/org.fusesource.jansi/jansi/1.11/ivys/ivy.xml ==== 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 :::::::::::::::::::::::::::::::::::::::::::::: :: UNRESOLVED DEPENDENCIES :: :::::::::::::::::::::::::::::::::::::::::::::: :: org.fusesource.jansi#jansi;1.11: 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.fusesource.jansi/jansi/1.11/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/fusesource/jansi/jansi/1.11/jansi-1.11.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/fusesource/jansi/jansi/1.11/jansi-1.11.jar :: 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\raoel\.sbt\boot\update.log for complete log) Error: Could not retrieve jansi 1.11 

"raoel" is my username.

So, I got into the error log and found this in the first few lines:

 setting 'ivy.default.settings.dir' to 'jar:file:/D:/tools/sbt/bin/sbt-launch.jar!/org/apache/ivy/core/settings' setting 'ivy.basedir' to 'D:\temp\scala\.' setting 'ivy.default.conf.dir' to 'jar:file:/D:/tools/sbt/bin/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. 

Do you need more? I will be happy to provide any useful information.

When I look at the first warning, C: \ Users \ raoel.ivy2 \ local \ org.fusesource.jansi \ exists, but there is no "jansi" subfolder. I continue the URL https://repo.typesafe.com/typesafe/ivy-releases/org.fusesource.jansi/jansi/1.11/ivys/ivy.xml and return 404 in well formatted json.

If I look at my log file, it looks for "org.apache.ivy.plugins.resolver.SshResolver" in the JAR file located in D: /tools/sbt/bin/sbt-launch.jar! / Org / apache / ivy / core / settings, and rightly so: SshResolver does not exist.

So ... all errors are correct. He does not work.

How can i fix this? This is a clean SBT installation (I did the uninstall-reinstall, like the Windows users you're used to). And why am I the only one who reported this. Is it really specific to my car? How could this be, since it is a clean installation?

Do I need to configure anything? JAVA_HOME is detected and correctly. I do not know what else might be needed.

Thanks for any suggestions!

+5
source share
1 answer

At some point, I emptied my jre\lib\security\cacerts . It was recreated, but global certificate providers were missing.

I could reinstall Java, but I copied the file from another version that was still installed.

+1
source

Source: https://habr.com/ru/post/1205978/


All Articles