【发布时间】:2015-12-13 18:29:40
【问题描述】:
我正在尝试运行这个 sbt 项目(基于 play framework 2.4) https://github.com/pac4j/play-pac4j-scala-demo
我正在使用“激活器运行”命令。我的激活器版本是 1.3.6
我确实在 sbt 使用的默认 maven 存储库中看到了该项目。但是,上面的日志似乎表明它没有找到。
https://repo1.maven.org/maven2/com/nimbusds/nimbus-jose-jwt/
我尝试清除 ivy 缓存目录。但是,这似乎没有帮助。
输出
/Users/arun/workspace/samples/play-pac4j-scala-demo>activator run
[info] Loading global plugins from /Users/arun/.sbt/0.13/plugins
[info] Updating {file:/Users/arun/.sbt/0.13/plugins/}global-plugins...
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] Done updating.
[info] Loading project definition from /Users/arun/workspace/samples/play-pac4j-scala-demo/project
[info] Updating {file:/Users/arun/workspace/samples/play-pac4j-scala-demo/project/}play-pac4j-scala-demo-build...
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] Done updating.
[info] Set current project to play-pac4j-scala-demo (in build file:/Users/arun/workspace/samples/play-pac4j-scala-demo/)
[info] Updating {file:/Users/arun/workspace/samples/play-pac4j-scala-demo/}root...
[info] Resolving com.nimbusds#nimbus-jose-jwt;[4.0,] ...
[warn] module not found: com.nimbusds#nimbus-jose-jwt;[4.0,]
[warn] ==== local: tried
[warn] /Users/arun/.ivy2/local/com.nimbusds/nimbus-jose-jwt/[4.0,]/ivys/ivy.xml
[warn] ==== activator-launcher-local: tried
[warn] /usr/local/Cellar/typesafe-activator/1.3.5/libexec/repository/com.nimbusds/nimbus-jose-jwt/[4.0,]/ivys/ivy.xml
[warn] ==== activator-local: tried
[warn] /Users/arun/Downloads/activator-dist-1.3.6/repository/com.nimbusds/nimbus-jose-jwt/[4.0,]/ivys/ivy.xml
[warn] ==== public: tried
[warn] https://repo1.maven.org/maven2/com/nimbusds/nimbus-jose-jwt/[4.0,]/nimbus-jose-jwt-[4.0,].pom
[warn] ==== typesafe-releases: tried
[warn] http://repo.typesafe.com/typesafe/releases/com/nimbusds/nimbus-jose-jwt/[4.0,]/nimbus-jose-jwt-[4.0,].pom
[warn] ==== typesafe-ivy-releasez: tried
[warn] http://repo.typesafe.com/typesafe/ivy-releases/com.nimbusds/nimbus-jose-jwt/[4.0,]/ivys/ivy.xml
[warn] ==== Maven2 Local: tried
[warn] file:/Users/arun/.m2/repository/com/nimbusds/nimbus-jose-jwt/[4.0,]/nimbus-jose-jwt-[4.0,].pom
[warn] ==== Atlassian Releases: tried
[warn] https://maven.atlassian.com/public/com/nimbusds/nimbus-jose-jwt/[4.0,]/nimbus-jose-jwt-[4.0,].pom
[warn] ==== Sonatype snapshots repository: tried
[warn] https://oss.sonatype.org/content/repositories/snapshots/com/nimbusds/nimbus-jose-jwt/[4.0,]/nimbus-jose-jwt-[4.0,].pom
[warn] ==== Pablo repo: tried
[warn] https://raw.github.com/fernandezpablo85/scribe-java/mvn-repo/com/nimbusds/nimbus-jose-jwt/[4.0,]/nimbus-jose-jwt-[4.0,].pom
[info] Resolving jline#jline;2.12.1 ...
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.nimbusds#nimbus-jose-jwt;[4.0,]: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn] Note: Unresolved dependencies path:
...
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
[error] (*:update) sbt.ResolveException: unresolved dependency: com.nimbusds#nimbus-jose-jwt;[4.0,]: not found
[error] Total time: 26 s, completed Sep 16, 2015 5:46:27 PM
【问题讨论】:
标签: scala playframework sbt ivy