我的游戏框架版本更新为2.2.1

C:\>where play
C:\apps\play-2.2.1\play
C:\apps\play-2.2.1\play.bat


在执行构建时,出现以下错误,如下所示。

sbt.ResolveException: unresolved dependency: com.typesafe.play#play_2.10;2.2.1: not found

最佳答案

添加此:

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


project/plugins.sbt,并确保您的顶级build.sbt包含以下行:

playScalaSettings


我不知道有什么理由需要它比您自己的回答更复杂。

关于playframework - Unresolved 依存关系:com.typesafe.play#play_2.10; 2.2.1,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/19865840/

10-10 01:06