title: play framework Form.form cannot find symbol
body: <p>I am going through the Play Framework tutorial. I am getting this error:</p>
  
  <pre><code>error: cannot find symbol
  
  In /Users/hseritt/devel/todolist/app/controllers/Application.java at line 12.
  
  import views.html.*;
  
  public class Application extends Controller {
  
  static Form&lt;Task&gt; taskForm = Form.form(Task.class); // ERROR IS HIGHLIGHTED AS Form.form 
  
  public static Result index() {
      return redirect(routes.Application.tasks());
  }
  </code></pre>
  
  <p>My full code for Application.java:</p>
  
  <pre><code>package controllers;
  
  import play.*;
  import play.data.*;
  import play.mvc.*;
  
  import models.*;
  import views.html.*;
  
  public class Application extends Controller {
  
  static Form&lt;Task&gt; taskForm = Form.form(Task.class);
  
  public static Result index() {
          return redirect(routes.Application.tasks());
  }
  
  public static Result tasks() {
      return ok(
          views.html.index.render(Task.all(), taskForm)
      );
  }
  
  public static Result newTask() {
       return TODO;
  }
  
  public static Result deleteTask(Long id) {
      return TODO;
  }
  }
  </code></pre>
  
  <p>I am wondering if I missed something in the tutorial or put something in the wrong place. </p>
  
  <p>Thanks!</p>