“object index is not a member of package views.html” when opening scala play project in scala ide

前端 未结 11 1022
隐瞒了意图╮
隐瞒了意图╮ 2020-12-09 01:36

I\'ve created a play project with play 2.3.7

In the project directory, I ran activator and ran the eclipse command to generate eclipse project files.

11条回答
  •  悲&欢浪女
    2020-12-09 02:21

    In Scala IDE 4.0.0 thinks there's errors in an out-of-the-box Play Framework 2.3.7 program you can find the solution (in brief: adding target/scala-2.11/twirl/main folder to the compilation path), give it a try.

提交回复
热议问题