I followed a tutorial here and although I got the entire tutorial working just fine, one of the classes in my IntelliJ project is marked with \"red warnings\". I cannot fig
The routes file and the views are compiled only when the project is first loaded in the browser. Till then, IntelliJ shows the error as it cannot find those classes. But the errors magically dissppear when you run the application and load it into browser.
You can verify this in the play console. After you do a play run
, and load the url localhost:9000
in the browser, you can see compilation messages in the play console saying
...compiling 22 scala sources....