问题描述
我正在eclipse.I 上尝试
代码并导入它sothat todolist教程
playframework-2.0
eclipsified eclipse(helios)
可以正确检测到播放api。但是,我有麻烦的 scala
部分
我更新eclipse以获取scala ide插件.Still eclipse显示
旁边的错误标记
return ok(views.html.index.render(Task.all(),taskForm));
错误弹出框显示 views.html.index无法解析为
div>
查看教程。对于任何问题,请在 ML上发现错误。
I am trying out the todolist tutorial
of playframework-2.0
on eclipse.I eclipsified
the code and imported it sothat eclipse(helios)
can detect the play api properly.I am however having trouble with the scala
part
I updated eclipse to get the scala ide plugin .Still eclipse shows error markers next to
return ok(views.html.index.render(Task.all(),taskForm));
The error popup box shows views.html.index cannot be resolved to a type
Any idea how to resolve this?
Have a look at the Setup and use Play framework in Scala IDE tutorial. For any trouble, bug us on the scala-ide-user ML.
这篇关于scala代码导致eclipse中的playframework-2.0错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!