Catch an additional reflective exception in the server
private final static Function<String, Class<?>> CLASS_EXISTS = name -> {
try {
return Class.forName(name);
- } catch (ClassNotFoundException cnfe) {
+ } catch (ClassNotFoundException | NoClassDefFoundError e) {
return null;
}
};
