title: Using Play Framework 2.1.0 with NetBeans
body: <p>I have started using Play 2.1.0 and I would like to be able to use NetBeans to develop Play Java applications. I'm not really interested in using the IDE to run or test the applications since I can do that from the command line (not that I would mind if I could also have IDE support for that) but I would like to be able to open and edit my project in NetBeans without getting annoying errors where they don't really exist. I am currently using NetBeans 7.3 so I first tried to use the <a href="https://blogs.oracle.com/geertjan/entry/play_in_netbeans_ide_7" rel="nofollow noreferrer">nbplay plugin</a>, however it wouldn't recognise all my imports or managed classes produced by Play. I then tried to import the project as Eclipse project, as described in <a href="https://stackoverflow.com/questions/10113832/how-do-i-use-play-framework-2-0-in-netbeans">this</a> and <a href="https://stackoverflow.com/questions/10584575/how-do-i-set-up-netbeans-to-work-with-play-framework-2-0-easily">this</a> question, which worked better, but while working my way through <a href="http://www.playframework.com/documentation/2.1.0/JavaGuide1" rel="nofollow noreferrer">one of Play's Java tutorials</a> I am still getting the following errors which make it really annoying to work with NetBeans:</p>
  
  <ol>
  <li>I get an "Expected an operand but found error" error in main.scala.html where @content is used, although I have instructed the IDE to disable HTML error checking for this file.</li>
  <li>In my model classes I get errors because the classes do not declare a no-argument constructor and have public variables for persistent attributes.</li>
  <li>Any other errors I have not come across yet?</li>
  </ol>
  
  <p>Has anyone managed to make Play 2.1.0 work with NetBeans without getting any of the above errors? I could probably live with the first one (although it would really annoy me) but the rest are showstoppers.</p>