将我的播放框架版本更新为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)
添加这个:
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)
我不知道有什么理由需要比这更复杂,就像你自己的答案一样.
归档时间: |
|
查看次数: |
5130 次 |
最近记录: |