scala代码导致eclipse中的playframework-2.0错误 [英] scala code causes error in eclipse for playframework-2.0

查看:161
本文介绍了scala代码导致eclipse中的playframework-2.0错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在eclipse.I 上尝试 todolist教程 playframework-2.0 eclipsified 代码并导入它sothat eclipse(helios)可以正确检测到播放api。但是,我有麻烦的 scala 部分



我更新eclipse以获取scala ide插件.Still eclipse显示


旁边的错误标记

  return ok(views.html.index.render(Task.all(),taskForm)); 

错误弹出框显示 views.html.index无法解析为

解决方案


div>

查看在Scala IDE中设置和使用Play框架教程。对于任何问题,请在 scala-ide-user 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错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆