diff --git a/pf4j/src/main/java/org/pf4j/AbstractExtensionFinder.java b/pf4j/src/main/java/org/pf4j/AbstractExtensionFinder.java index 42d59ae..8288ddc 100644 --- a/pf4j/src/main/java/org/pf4j/AbstractExtensionFinder.java +++ b/pf4j/src/main/java/org/pf4j/AbstractExtensionFinder.java @@ -151,7 +151,7 @@ public abstract class AbstractExtensionFinder implements ExtensionFinder, Plugin checkDifferentClassLoaders(type, extensionClass); } } - } catch (ClassNotFoundException e) { + } catch (ClassNotFoundException | NoClassDefFoundError e) { log.error(e.getMessage(), e); } }