我正在尝试eclipse.I上的playframework-2.0的todolist tutorial。我eclipsified了代码并导入了它,这样eclipse(helios)就可以正确地检测play api了。但是,我在scala部分遇到了问题
我更新了eclipse以获得scala ide插件.Still eclipse在
return ok(views.html.index.render(Task.all(),taskForm));错误弹出框显示views.html.index cannot be resolved to a type
你知道怎么解决这个问题吗?
发布于 2012-06-11 00:58:14
请看一下Setup and use Play framework in Scala IDE教程。如果有任何麻烦,请在scala-ide-user ML上窃听我们。
发布于 2014-06-12 07:56:29
在我的例子中,解决方案是将/target/scala-2.10/src_managed/main文件夹添加到类路径中。
发布于 2014-07-09 14:22:39
我能够通过再次遮蔽项目来摆脱这个警告。
play eclipse或
activator eclipse # If you use activatorhttps://stackoverflow.com/questions/10960538
复制相似问题