dsp-api icon indicating copy to clipboard operation
dsp-api copied to clipboard

sbt project

Open tobiasschweizer opened this issue 6 years ago • 5 comments

I get the following error when I run sbt in my Knora project root:

typesafe-releases: unable to get resource for org/apache/logging/log4j#log4j-slf4j-impl;2.11.1: res=https://repo.typesafe.com/typesafe/releases/org/apache/logging/log4j/log4j-slf4j-impl/2.11.1/log4j-slf4j-impl-2.11.1.pom: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

I am using sbt 1.2.8. I have also cloned the Knora git repo in an empty dir.

tobiasschweizer avatar Jul 08 '19 11:07 tobiasschweizer

some more output:

[error] 	java.text.ParseException: [unknown tag project in .../.ivy2/cache/org.scala-sbt/sbt/ivy-1.2.8.xml.original
[error] , unknown tag modelVersion in .../.ivy2/cache/org.scala-sbt/sbt/ivy-1.2.8.xml.original
[error] , unknown tag groupId in .../.ivy2/cache/org.scala-sbt/sbt/ivy-1.2.8.xml.original
[error] , unknown tag artifactId in .../.ivy2/cache/org.scala-sbt/sbt/ivy-1.2.8.xml.original
[error] , unknown tag packaging in .../.ivy2/cache/org.scala-sbt/sbt/ivy-1.2.8.xml.original
[error] , unknown tag description in .../.ivy2/cache/org.scala-sbt/sbt/ivy-1.2.8.xml.original
[error] , unknown tag url in .../.ivy2/cache/org.scala-sbt/sbt/ivy-1.2.8.xml.original

I deleted .../.ivy2, but still get the same problem

tobiasschweizer avatar Jul 08 '19 12:07 tobiasschweizer

This might be your Internet Service Provider or your antivirus software blocking the SSL connection:

https://github.com/sbt/sbt/issues/2365

https://stackoverflow.com/questions/7709540/how-to-solve-sun-security-provider-certpath-suncertpathbuilderexception

https://stackoverflow.com/questions/13626965/how-to-ignore-pkix-path-building-failed-sun-security-provider-certpath-suncertp

https://youtrack.jetbrains.com/issue/SCL-9856

https://intellij-support.jetbrains.com/hc/en-us/community/posts/115000094584-IDEA-Ultimate-2016-3-4-throwing-unable-to-find-valid-certification-path-to-requested-target-when-trying-to-refresh-gradle?page=1#community_comment_115000405564

benjamingeer avatar Jul 09 '19 10:07 benjamingeer

I am currently abroad and tried several Wifi networks. Doesn't matter, will retry once I am back home. Thanks anyway.

tobiasschweizer avatar Jul 09 '19 10:07 tobiasschweizer

You might try with the Unibas VPN and see if that helps.

benjamingeer avatar Jul 09 '19 10:07 benjamingeer

I am actually always using the VPN client :-)

tobiasschweizer avatar Jul 09 '19 10:07 tobiasschweizer