Play Project not compiling correctly in Intellij - routes_routing.scala -
I have a controller (with one path) and together a simple play project.
When I type "sbt compile test" it runs correctly in the terminal and the test passes.
I can not get the solution to compile correctly in IntelIge.
Controller: Controller Nisp.LandingPageController
Compile Error:
... / nisp-frontend / target / Scala-2.11 / src_managed / main / app / routes_routing.scala Error: (37, 18) Object LandingPage Controller Package is not a member of App Controllers. NISP Controllers NISP Landing Page Controller ShowingPage (), ^ Directory Structure:
I have resolved this issue using the following method: < / P>
- Upgrade to Intellij 14
- Upgrade to the latest Scala plugin
- Remove the entire project directory and clone the source again.
- File -> Import Project -> SBT -> Auto-Import.
Comments
Post a Comment