我下面的文章http://scala.playframework.org/documentation/scala-0.9.1/hello-world播放斯卡拉申請「未發現:數值動作」
我已經安裝了類型安全堆棧1.1和播放中的說明! Framework 2.0測試版。
當我修改該文件index.scala.html到
@(message: String)
@main("Welcome to Play 2.0 beta") {
<form action="@action(controllers.Application.index)" method="GET">
<input type="text" name="myName" />
<input type="submit" value="Say hello!" />
</form>
}
頁失敗,出現錯誤消息not found: value action
編譯。 我確定它也無法與其他幫助者一起編譯。我谷歌搜索解決方案,而不是拿出任何東西。我對Scala完全陌生,希望得到任何幫助。
播放2.0正處於測試階段,並從1.x的完全不同,不嘗試使用Play 2.0的Play 1.x教程,它將無法正常工作。堅持使用Play 1.x來學習:) –