title: Play Framework 2.4 don't accept "public static Result" for controllers
body: <p>I am try to start an app using Play Framework 2.4 with JDK8 in Mac, when I download the base using ./activator new Project play-java the template code contains the next:</p>
  
  <p>Project/app/controlles/Application.java</p>
  
  <pre><code>package controllers;
  
  import play.*;
  import play.mvc.*;
  
  import views.html.*;
  
  public class Application extends Controller {
  
      public Result index() {
          return ok(index.render("Your new application is ready."));
      }
  
  }
  </code></pre>
  
  <p>But when I replace this part:</p>
  
  <pre><code>public static Result index() {...
  </code></pre>
  
  <p>adding "static" to index()</p>
  
  <p>I get this error</p>
  
  <pre><code>Compilation error
  value index is not a member of controllers.Application
  .../conf/routes:6
  4 # ~~~~
  5 # Home page
  6 GET     /                           controllers.Application.index()
  </code></pre>
  
  <p>I don't know why because in all examples used static for Result</p>