So, I'm trying out Play 2 with Eclipse. I create a new project, compile it, run eclipsify and import it into Eclipse. So far so good.
The problem I'm having is that when I make a change in the Scala template, my Java controllers can't see it, and Eclipse marks the code as invalid. For example:
I added a second parameter in my index template
@(message: String, nesto:Integer)
When I try to render my file from the controller, the following line displays an error, because Eclipse still thinks that the index.render takes one String.
return ok(index.render("Your new application is ready.",2));
I turned on the workspace refreshing in Eclipse, and play eclipsify automatically added the classes_managed directory to the build path.