title: Glassfish server does not work with JDK 8
body: <p>I'm using jdk 8 with lambda in a web project with NetBeans, but when a deploy it to glassfish it shows me this error:</p>
  
  <pre><code>java.lang.RuntimeException: Uncompilable source code - Erroneous tree type: &lt;any&gt;
  </code></pre>
  
  <p>This is caused by lines of code that include lambda expression.</p>
  
  <p>I tried changing the glassfish settings to work with jdk 8 but I have not gotten it to work.</p>
  
  <p>Is there any way to make it work?</p>