spass对象索引不是包views.html

时间:2015-07-15 16:15:17

标签: scala intellij-idea playframework playframework-2.0

git clone https://github.com/spass/spass.git

然后将项目(sbt)导入intellij

当我运行Rebuild Project时,我得到:

app/io/spass/controllers/Application.scala
Error:(9, 19) object index is not a member of package views.html
    Ok(views.html.index())

我做错了吗?                   ^

1 个答案:

答案 0 :(得分:2)

我检查了文件夹,并且未排除target,删除了所述文件夹的内容,并从命令行运行sbt compile