title: Why does the compiler fail with "Cannot resolve reference Action with such signature"?
body: <p>I have written some code in Play Framework with Scala and I am getting error. It worked fine but suddenly I got error.</p>
  
  <pre><code>def index = Action { implicit request =&gt;
    Ok(views.html.Postpage.render())
  }
  </code></pre>
  
  <p>I am getting the following error:</p>
  
  <pre><code>Cannot resolve reference Action with such signature
  Type mismatch expected(Request[Anycontent]=&gt;resultactual:request[AnyContent]=&gt;Any)
  Type mismatch expected(BodyParser[Anycontent]=&gt;resultactual:request[AnyContent]=&gt;Any)
  cannot resolve symbol Ok
  </code></pre>