2014-09-25 67 views
1

我第一次尝试Play Framework,并且我使用激活器来创建Play 2.3.4项目。当我使用的UI,并尝试检查请求/演员,我得到这个消息:如何下载Play Framework 2.3.3?

No requests found. There could be two reasons for this: 
either there haven't been any requests to your 
Play application yet or you're running an unsupported 
Play version (>2.3.3) 

由于检查的东西看起来很酷,我想看看它在行动,所以我想安装2.3。 3。

在播放下载页面(https://www.playframework.com/download)上,下载当前版本(2.3.4)和以前版本(2.3.1,2.3.2,2.3.3)的链接全部指向相同的地方(http://downloads.typesafe.com/typesafe-activator/1.2.10/typesafe-activator-1.2.10-minimal.zip )。当我使用该激活器创建一个播放项目时,我每次都获得相同的2.3.4版本。

如何设置2.3.3项目?

回答

4

更改项目/ plugins.sbt行:

addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.3.3") 

然后调用reload或重新激活剂(SBT)