title: Cannot resolve method 'ok(?)' with Play 2 Framework in Intellij
body: <p>I have been trying to get play set up in IntelliJ for hours but I can't get it to work correctly.</p>
  
  <p>I continuously get this error: <a href="https://imgur.com/MYY8fXI" rel="noreferrer">http://imgur.com/MYY8fXI</a></p>
  
  <p>I have tried create a project though the terminal with:</p>
  
  <pre><code>play new 
  </code></pre>
  
  <p>and then using the terminal to create the idea files with</p>
  
  <pre><code>idea with-sources=yes
  </code></pre>
  
  <p>I have also installed the <a href="http://plugins.jetbrains.com/plugin/7080" rel="noreferrer">play 2 plugin</a> and used it to create the project, but I get the same error.</p>
  
  <p>I am able to use the plugin I downloaded to successfully run the app and view it in my browser, but I keep getting the </p>
  
  <pre><code>Cannot resolve method 'ok(?)' error.
  </code></pre>
  
  <p>edit: I am using OSX, and have the ultimate version of Intellij.<br>
  edit 2: I have made a little progress.  If I import the view directly using import views.html.index; it gets rid of the errors on the application.  However, if I use import views.html.*; it results in the errors.  Any ideas?</p>