I have the following in my controller,
public static Result index() {
return ok(indexpage.render());
}
my indexpage.scala.html page,
@main("Test") {
}
yet Play 2.1 is giving me the following error: error: cannot find symbol
Any ideas?
EDIT: I created another view + method in my controller, had the same exact error.
Found the problem, when I cleaned up my imports I accidentally removed
import views.html.*;
from my controller class. Would have posted answer earlier but for some reason people with less than 10 reputation have to wait 8 hours before answering a question they made.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With