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

Hibernate - HibernateException: createQuery is not valid without active transaction