------ The JDK is being used is different than expected. ------ Barrie Treloar ------ 24 April 2009 ------ Summary After running <<>> your project's are using a different JDK than expected. Checklist * Correct version of Java source specified in <<>>? For example, setting the source to 1.6 compliance? +--- maven-compiler-plugin 2.0.2 1.6 1.6 +--- * The default JDK defined in eclipse matches what you expect? In eclipse's preferences check Java > Installed JREs and that the selected one is the version you expect. * The Execution Environment for the expected version is bound in eclipse preferences? In eclipse's preferences check Java > Installed JREs > Execution Environment has a bound value for compatible JREs. For example, JavaSE-1.6 should have "perfect match" or an Installed JRE selected as being compatible. * The <<<.claspath>>> specifies the correct Java container? Open the <<<.classpath>>> file and look for the <<<>> entry. It should either be using the default JRE: +--- +--- Or it should be a specified execution environment: +--- +---