From: Decebal Suiu Date: Mon, 11 Mar 2019 17:39:34 +0000 (+0200) Subject: Fix #297 X-Git-Tag: release-3.0.0~5 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=25eb313c5c11ecc7da7391069e257387e408265c;p=pf4j.git Fix #297 --- 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); } }