Play - The import views.html.index cannot be resolved

Problem:

The import views.html.index cannot be resolved

Solution: 

Add
  • target/scala-2.11/routes/main
  • target/scala-2.11/twirl/main 
to your project build path.
For some reason the option bellow wasn’t enough:
  • EclipseKeys.createSrc := EclipseCreateSrc.ValueSet(EclipseCreateSrc.ManagedClasses, EclipseCreateSrc.ManagedResources)

Comments

Popular posts from this blog

Oracle - duplicate fields in RECORD,TABLE or argument list are not permitted

Oracle - ORA-29282: invalid file ID, ORA-06512: at "SYS.UTL_FILE"