Uncaught exception with 'DB connection error' on line 18

bootstrap class path not set

Compiling 38 source files to xxxx\build\web\WEB-INF\classes
warning: [options] bootstrap class path not set in conjunction
with -source 1.6
1 warning
Copying 5 files to xxxx\build\web\WEB-INF\classes

Es ist schon was nervig diese Fehlermeldung, obwohl in 99,9999% aller Fälle kein Fehler auftreten soll.
Dieser Warning tritt auf wenn die JDK 1.7 in Netbeans eingestellt ist, das Projekt – Source/Binary Format auf Java 7 und mindestens eine Library kleiner Java 7 (z.B. 1.6) compiliert wurde.
Also JDK 1.6 aufspielen, Netbeans auf JDK 1.6 ausrichten, alle Projekte auf JDK 6.