title: Play 2.4: Form: could not find implicit value for parameter messages: play.api.i18n.Messages
body: <p>I am new to Play framework and tried to mimic the <strong>helloworld</strong> sample in my local machine but I encountered an error:</p>
  
  <p><img src="https://i.stack.imgur.com/71YkY.png" alt="enter image description here"></p>
  
  <p><strong>routes:</strong></p>
  
  <pre><code># Home page
  GET        /                    controllers.Application.index
  
  # Hello action
  GET        /hello               controllers.Application.sayHello
  
  
  # Map static resources from the /public folder to the /assets URL path
  GET        /assets/*file        controllers.Assets.versioned(path="/public", file: Asset)
  </code></pre>
  
  <p><strong>controller:</strong></p>
  
  <pre><code>package controllers
  
  import play.api.mvc._
  import play.api.data._
  import play.api.data.Forms._
  
  import views._
  
  class Application extends Controller {
  
    val helloForm = Form(
      tuple(
        "name" -&gt; nonEmptyText,
        "repeat" -&gt; number(min = 1, max = 100),
        "color" -&gt; optional(text)
      )
    )
  
    def index = Action {
      Ok(html.index(helloForm))
    }
  
    def sayHello = Action { implicit request =&gt;
        helloForm.bindFromRequest.fold(
        formWithErrors =&gt; BadRequest(html.index(formWithErrors)),
        {case (name, repeat, color) =&gt; Ok(html.hello(name, repeat.toInt, color))}
      )
    }
  }
  </code></pre>
  
  <p><strong>view:</strong></p>
  
  <pre><code>@(helloForm: Form[(String,Int,Option[String])])
  
  @import helper._
  
  @main(title = "The 'helloworld' application") { 
      &lt;h1&gt;Configure your 'Hello world':&lt;/h1&gt; 
      @form(action = routes.Application.sayHello, args = 'id -&gt; "helloform") {
          @inputText(
              field = helloForm("name"),
              args = '_label -&gt; "What's your name?", 'placeholder -&gt; "World"
          )
  
          @inputText(
              field = helloForm("repeat"),
              args = '_label -&gt; "How many times?", 'size -&gt; 3, 'placeholder -&gt; 10
          ) 
          @select(
              field = helloForm("color"),
              options = options(
                  "" -&gt; "Default",
                  "red" -&gt; "Red",
                  "green" -&gt; "Green",
                  "blue" -&gt; "Blue"
              ),
              args = '_label -&gt; "Choose a color"
          ) 
          &lt;p class="buttons"&gt;
              &lt;input type="submit" id="submit"&gt;
          &lt;p&gt; 
      } 
  }
  </code></pre>
  
  <p>I have Play 2.4 installed and created the project using IntelliJ Idea 14 via <strong>activator</strong> template.</p>