title: Class has unsupported major or minor version numbers
body: <p>In Eclipse I created an EAR project linked to an ejb and a model. I ran the EAR and I got the following error:     </p>
  
  <blockquote>
    <p>cannot Deploy earkmz</p>
    
    <p>deploy is failing=Error occurred during deployment: Exception while deploying the app [earkmz] : UnsupportedClassVersionError: Class it.j2ee.kmZ.business.impl.JPACartService has unsupported major or minor version numbers, which are greater than those found in the Java Runtime Environment version 1.6.0_43. Please see server.log for more details.</p>
  </blockquote>
  
  <p>I've got only one JRE on my system (1.6.0_43), so it's not possible that I wrongly compiled my classes with another JDK version.</p>
  
  <p>I checked that my settings were right under <code>Window &gt; Preferences &gt; Java &gt; Compiler &gt; Compiler compliance level &gt; 1.6</code>.</p>
  
  <p>My project classes are copy-pasted from another project, but I tried to write them from scratch and the result is the same. What am I missing here?</p>