将以下依赖项从1.0.3升级到1.0.4后,我收到一个对我没有意义的错误。
<dependency>
<groupId>org.springframework.security.extensions</groupId>
<artifactId>spring-security-saml2-core</artifactId>
<version>1.0.4.RELEASE</version>
</dependency>
以下是构建错误:
[ERROR] Failed to execute goal on project saml-data-1.5.10m: Could not resolve dependencies for project com.abc.iam:saml-data-1.5.10m:jar:0.0.1-SNAPSHOT: Failed to collect dependencies at org.springframework.security.extensions:spring-security-saml2-core:jar:1.0.4.RELEASE -> ca.juliusdavies:not-yet-commons-ssl:jar:0.3.17: Failed to read artifact descriptor for ca.juliusdavies:not-yet-commons-ssl:jar:0.3.17: Could not transfer artifact ca.juliusdavies:not-yet-commons-ssl:pom:0.3.17 from/to Backbase Artifact Repository (https://repo.backbase.com/repo/): Access denied to: https://repo.backbase.com/repo/ca/juliusdavies/not-yet-commons-ssl/0.3.17/not-yet-commons-ssl-0.3.17.pom , ReasonPhrase:403. -> [Help 1]
我看一下Backbase存储库。 0.3.17不存在。我联系过Backbase的人。他们说他们对这个问题没有任何了解。
如何解决这个问题?
答案 0 :(得分:1)
首先删除settings.xml中的部分以连接Backbase repo并尝试构建项目。这将从maven存储库下载SAML扩展所需的所有依赖项(包括您收到的错误)。然后还原更改以与backbase repo连接并再次构建。
答案 1 :(得分:0)
仅供参考,以供遇到此问题的任何人...
Not-Yet-Commons-SSL site似乎不见了。我已经分叉了该项目,并发布了针对Java 9+的修复程序的新版本。现在,它可以正确处理PKCS12文件,因此TrustMaterial不再抛出NPE。
您可以在这里找到项目:Not-Going-To-Be-Commons-SSL