From: Decebal Suiu Date: Mon, 11 Mar 2019 17:38:45 +0000 (+0200) Subject: Fix #297 X-Git-Tag: release-3.0.0~6 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=17102040c757ca7d3fba2f0375e7306ee169b4f8;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 2a84b4f..69e46e3 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 e) { + } catch (ClassNotFoundException | NoSuchMethodError e) { log.error(e.getMessage(), e); } }