Typesafe存储库和激活器出现问题 [英] Trouble with Typesafe Repositories and activator

查看:383
本文介绍了Typesafe存储库和激活器出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当尝试创建一个新的play framework 2.3应用程序时,我收到未解决依赖关系的错误.我检查了存储库,但无法手动找到依赖项.

I'm receiving errors of unresolved dependencies, when trying to create a new play framework 2.3 application. I checked the repositories and can't find the dependencies manually.

[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

命令:

  • 激活器新应用的播放规模
  • cd应用
  • 激活器运行

推荐答案

可以找到该解决方案此处.简而言之:

The solution can be found here. In short:

这里也一样.在我的project/plugins.sbt中添加了第二个解析器后,依赖关系已成功解析.

Same here. After I added a second resolver into my project/plugins.sbt the dependencies were successfully resolved.

resolvers + ="Typesafe存储库",位于" http://repo.typesafe.com/typesafe/发布/"

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

解析器+ ="Typesafe存储库mvn",位于" http://repo.typesafe.com /typesafe/maven-releases/"

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

结束.

这篇关于Typesafe存储库和激活器出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆