New Play project giving compile error


Created a new Play 2.x project through with a brand new installation of IntelliJ U.  Get a warning in app/controllers/Application.json saying "Method 'index()' is never used" and it appears grey.  Creating a new sbt compile task gives me the error

[error] ...untitled/conf/routes:6: value index is not a member of controllers.Application
[error] GET / controllers.Application.index
[error] one error found
[error] (compile:compileIncremental) Compilation failed
[error] Total time: 3 s, completed 9-Mar-2018 2:49:32 PM


Again, brand new project new installation, no changes other than defaults.

Googling didn't help much.  Has anyone else come across this?

Please sign in to leave a comment.