【问题标题】:Trouble with Typesafe Repositories and activator类型安全存储库和激活器的问题
【发布时间】:2014-07-21 18:19:49
【问题描述】:

我在尝试创建新的播放框架 2.3 应用程序时收到未解决依赖项的错误。我检查了存储库,但无法手动找到依赖项。

[error] (*:update) sbt.ResolveException: unresolved dependency: com.typesafe.play#build-link;2.3.0: not found
[error] unresolved dependency: com.typesafe.play#play-exceptions;2.3.0: not found
[error] unresolved dependency: com.typesafe.play#routes-compiler_2.10;2.3.0: not found
[error] unresolved dependency: com.typesafe#jse_2.10;1.0.0: not found
[error] unresolved dependency: com.typesafe#npm_2.10;1.0.0: not found
[error] unresolved dependency: com.typesafe#webdriver_2.10;1.0.0: not found

命令:

  • activator new app play-scala
  • cd 应用程序
  • 激活器运行

【问题讨论】:

  • 我可以重现这个。我还没有发现任何关于激活器/播放问题的问题。

标签: playframework typesafe


【解决方案1】:

可以在here找到解决方案。简而言之:

这里也一样。在我将第二个解析器添加到我的 project/plugins.sbt 后,依赖项已成功解析。

resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/"

resolvers += "Typesafe repository mvn" at "http://repo.typesafe.com/typesafe/maven-releases/"

结束。

【讨论】:

  • 这看起来像是来自 Typesafe 的糟糕版本,希望他们修复 ivy 存储库或 play-scala webapp 的模板。
  • 请注意,您还需要在 build.sbt 文件中将属性 scalaVersion := "2.11.0" 从 "2.11.2" 更改。
猜你喜欢
  • 2014-08-21
  • 2013-10-11
  • 2015-04-20
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2014-01-12
  • 1970-01-01
相关资源
最近更新 更多