未解决的依赖:com.typesafe.play#play_2.10; 2.2.1

RCR*_*RCR 2 sbt playframework

将我的播放框架版本更新为2.2.1

C:\>where play
C:\apps\play-2.2.1\play
C:\apps\play-2.2.1\play.bat
Run Code Online (Sandbox Code Playgroud)

在执行构建时,我收到以下错误,如下所示.

sbt.ResolveException: unresolved dependency: com.typesafe.play#play_2.10;2.2.1: not found
Run Code Online (Sandbox Code Playgroud)

Set*_*sue 5

添加这个:

resolvers += "Typesafe repository" at
  "http://repo.typesafe.com/typesafe/releases/"
Run Code Online (Sandbox Code Playgroud)

project/plugins.sbt,并确保您的顶级build.sbt有这一行:

playScalaSettings
Run Code Online (Sandbox Code Playgroud)

我不知道有什么理由需要比这更复杂,就像你自己的答案一样.