Play 2 compile errors

In any Play 2 application, I see errors displayed for the generated file & propagated wherever I use reverse routes in the application.

I have found that I can fix the ones in the controllers package, either by making target/scala-2.10/src-managed/main source & not target/scala-2.10/src-managed/main/controllers & target/scala-2.10/src-managed/main/views.

I can make that automatic by using the sbt-idea 1.6.0-SNAPSHOT plugin & gen-idea, rather that the play idealise.

However, I still have compile errors (Cannot resolve symbol) for reverse routes in controllers.javascript & controllers.ref .

Those symbols are defined in routes_reverseRouting.scala, just the same as the ones that are now fixed, it is just that they are in the controllers.javascript & controllers.ref packages rather that controllers .

This is a problem for me, using the latest IDEA EAP, IU-133.471 & the play 2.0 support 0.26.357 .

Does anyone know how to fix this, please?

Screen Shot 2014-01-08 at 11.37.52.png
Screen Shot 2014-01-08 at 11.36.49.png
Screen Shot 2014-01-08 at 11.36.17.png

Please sign in to leave a comment.