0

切换到新的开发系统后出现依赖错误(使用剪影播放应用程序)。

sbt.version=1.3.3

在 build.sbt 中:

resolvers += Resolver.jcenterRepo
resolvers += "Sonatype snapshots" at "https://oss.sonatype.org/content/repositories/snapshots/"
[error] Error downloading com.atlassian.jwt:jwt-api:2.0.5
[error]   Not found
[error]   Not found
[error]   not found: /Users/robert/.ivy2/local/com.atlassian.jwt/jwt-api/2.0.5/ivys/ivy.xml
[error]   not found: https://repo1.maven.org/maven2/com/atlassian/jwt/jwt-api/2.0.5/jwt-api-2.0.5.pom
4

1 回答 1

4

该工件com.atlassian.jwt:jwt-api:2.0.5似乎只能从 Atlassian 的存储库中获得(请参阅https://mvnrepository.com/artifact/com.atlassian.jwt/jwt-api/2.0.5)。

添加以下解析器:

resolvers += "Atlassian's Maven Public Repository" at "https://packages.atlassian.com/maven-public/"
于 2019-11-22T09:03:11.933 回答