当我尝试从play 2.0.4升级到2.1.1时,我似乎一直遇到问题。我遵循了迁移指南中的所有内容。首先,它一直抱怨我的代理。我想当我运行play clean时,我最终通过添加-DhttpProxyHost,User等来解决它。现在我遇到了这个问题。我找到了一些有类似问题的人,但我认为没有一个明确的解决方案来解决这个问题。任何帮助将不胜感激!!!!
Getting org.scala-sbt sbt_2.9.1 0.12.2 ...
:: problems summary ::
:::: WARNINGS
module not found: org.scala-sbt#sbt_2.9.1;0.12.2
==== local: tried
/Users/wlam/Dev/play/play-2.0.2/framework/../repository/local/org.scala-sbt/sbt_2.9.1/0.12.2/ivys/ivy.xml
==== Maven2 Local: tried
file:///Users/wlam/.m2/repository/org/scala-sbt/sbt_2.9.1/0.12.2/sbt_2.9.1-0.12.2.pom
==== typesafe-ivy-releases: tried
http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt_2.9.1/0.12.2/ivys/ivy.xml
==== Maven Central: tried
http://repo1.maven.org/maven2/org/scala-sbt/sbt_2.9.1/0.12.2/sbt_2.9.1-0.12.2.pom
::::::::::::::::::::::::::::::::::::::::::::::
:: UNRESOLVED DEPENDENCIES ::
::::::::::::::::::::::::::::::::::::::::::::::
:: org.scala-sbt#sbt_2.9.1;0.12.2: not found
::::::::::::::::::::::::::::::::::::::::::::::
:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
unresolved dependency: org.scala-sbt#sbt_2.9.1;0.12.2: not found
Error during sbt execution: Error retrieving required libraries
(see /Users/wlam/Dev/play/play-2.0.2/framework/sbt/boot/update.log for complete log)
Error: Could not retrieve sbt 0.12.2
答案 0 :(得分:2)
您还需要安装Play 2.1并使用它来启动您的项目。目前您正在运行使用Scala 2.9的2.0.2,而Play 2.1仅适用于Scala 2.10。
sbt 0.12.2似乎只适用于Scala 2.9.2,而非2.9.1。