我下面的文章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来学习:) –