title: Action not found in play framework
body: <p>I've just created a new play framework project and it runs fine. Now, once I modify my routes file (all I'm doing is adding the <code>GET /popular</code> line):</p>
  
  <pre><code># Home page
  GET     /popular                    controllers.Application.popular()
  GET     /                           controllers.Application.index()
  
  # Map static resources from the /public folder to the /assets URL path
  GET     /assets/*file               controllers.Assets.at(path="/public", file)
  </code></pre>
  
  <p>Now in my controller, I add the handler:</p>
  
  <pre><code>public class Application extends Controller {
  
      public static Result index() {
          return ok(index.render("Your new application is ready."));
      }
  
      public static Result popular() {
  
          ArrayList&lt;String&gt; popular = new ArrayList&lt;String&gt;();
          popular.add("testing");
          popular.add("123");
          return ok(Json.toJson(popular));
      }
  }
  </code></pre>
  
  <p>For some reason, I'm getting a 'Action not found' when trying to access <code>http://127.0.0.1:9000/popular</code>.</p>
  
  <p>I just wanted to try out a simple action. Any idea why I'm getting this error?</p>