Hi Manfred > Class.forName(Column.class.getName()) == Column.class
I understand. But the loading occurs at this very line, not before (as
far as I know). So this will work:
try {
Class.forName(Column.class.getName());
}
catch (Throwable t) {
// recover
}
The error was that JooqUtil caught Exception, not Throwable. Hence
NoClassDefFoundError was not caught... The point of doing this is
precisely to check whether a particular dependency is available or
not.
Cheers
