diff --git a/pf4j/src/main/java/org/pf4j/AbstractExtensionFinder.java b/pf4j/src/main/java/org/pf4j/AbstractExtensionFinder.java index 69e46e3..b260c39 100644 --- a/pf4j/src/main/java/org/pf4j/AbstractExtensionFinder.java +++ b/pf4j/src/main/java/org/pf4j/AbstractExtensionFinder.java @@ -198,7 +198,7 @@ public abstract class AbstractExtensionFinder implements ExtensionFinder, Plugin ExtensionWrapper extensionWrapper = createExtensionWrapper(extensionClass); result.add(extensionWrapper); log.debug("Added extension '{}' with ordinal {}", className, extensionWrapper.getOrdinal()); - } catch (ClassNotFoundException | NoSuchMethodError e) { + } catch (ClassNotFoundException | NoClassDefFoundError e) { log.error(e.getMessage(), e); } }