当尝试创建一个新的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存储库",位于" repo.typesafe/typesafe/发布/"
resolvers += "Typesafe repository" at "repo.typesafe/typesafe/releases/"
解析器+ ="Typesafe存储库mvn",位于" repo.typesafe /typesafe/maven-releases/"
resolvers += "Typesafe repository mvn" at "repo.typesafe/typesafe/maven-releases/"
结束.
更多推荐
Typesafe存储库和激活器出现问题
发布评论