title: Cannot deploy play-tutorial to Heroku
body: <p>I am trying to do exactly what tutorial said but I keep having this error.
  The tutorial was the very first to-do. (So the source is exactly same than <a href="http://www.playframework.com/documentation/2.1.1/JavaTodoList" rel="nofollow">in here</a>)</p>
  
  <pre><code>   [info]   [SUCCESSFUL ] org.easytesting#fest-util;1.1.6!fest-util.jar (293ms)
     [info] Done updating.
     [info] Compiling 4 Scala sources and 3 Java sources to /tmp/build_3oqhsaxc7iatb/target/scala-2.10/classes...
     [error] /tmp/build_3oqhsaxc7iatb/app/controllers/Application.java:6: object data is not a member of package play
     [error] import play.data.validation.Constraints.*;
     [error]        ^
     [error] /tmp/build_3oqhsaxc7iatb/app/controllers/Application.java:7: object data is not a member of package play
     [error] import play.data.*;
     [error]        ^
     [error] /tmp/build_3oqhsaxc7iatb/app/models/Task.java:5: object db is not a member of package play
     [error] import play.db.ebean.*;
     [error]        ^
     [error] /tmp/build_3oqhsaxc7iatb/app/models/Task.java:6: object data is not a member of package play
     [error] import play.data.validation.Constraints.*;
     [error]        ^
     [error] /tmp/build_3oqhsaxc7iatb/app/models/Task.java:8: object persistence is not a member of package javax
     [error] import javax.persistence.*;
     [error]        ^
     [error] /tmp/build_3oqhsaxc7iatb/app/models/Task.java:11: not found: type Model
     [error] public class Task extends Model{
     [error]                           ^
     [error] /tmp/build_3oqhsaxc7iatb/app/views/index.scala.html:6: Int does not take parameters
     [error]  &lt;h1&gt;@tasks.size() task(s)&lt;/h1&gt;
     [error]                 ^
     [error] 7 errors found
     [error] (compile:compile) Compilation failed
     [error] Total time: 116 s, completed May 19, 2013 8:37:52 PM
  </code></pre>
  
  <p>!     Failed to build app with sbt
   !     Heroku push rejected, failed to compile Play 2.x - java app</p>