title: How to eliminate error underlining in IntelliJ 14.0.3 for Play 2.3.7 application?
body: <p>I am using IntelliJ IDEA 14.0.3 to develop a Play 2.3.7 application using the Scala 1.3.3 plugin.</p>
  
  <p>The attached screenshot shows that IntelliJ underlines the parameter to a render method as invalid when, in fact, the system compiles and runs successfully both in IntelliJ and at the command line (using Activator):</p>
  
  <p><img src="https://i.stack.imgur.com/11IWO.png" alt="play-intellij-confusion"></p>
  
  <p>Another user has reported this problem in IntelliJ when the view template file uses Scala-specific syntax (i.e. <code>Form[formdata.ContactFormData]</code>) while the controller uses Java-specific syntax (i.e. <code>Form&lt;formdata.ContactFormdata&gt;</code>). That is the case here as well.</p>
  
  <p>The sources to illustrate this problem are available at: <a href="https://github.com/philipmjohnson/intellij-play-error-highlight-problem" rel="nofollow noreferrer">https://github.com/philipmjohnson/intellij-play-error-highlight-problem</a></p>
  
  <p>Is this indeed a bug in IntelliJ or its Scala plugin? Are there any workarounds?</p>