2014-09-25 53 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)