Introduction
I'm starting to develop with the Play Framework. I'm making an ALL list template with it.
Problem
When I am instantiating my form in the controller it returns me the following error:
Would anyone know what the problem is?
Controller (Application.java)
package controllers;
import play.*;
import play.mvc.*;
import play.data.*;
import play.data.Form;
import views.html.*;
import models.*;
public class Application extends Controller {
static Form<Task> taskForm = form(Task.class);
public static Result index() {
return redirect(routes.Application.tasks());
}
public static Result tasks() {
return TODO;
}
public static Result newTask() {
return TODO;
}
public static Result deleteTask(Long id) {
return TODO;
}
}