From 25eb313c5c11ecc7da7391069e257387e408265c Mon Sep 17 00:00:00 2001 From: Decebal Suiu Date: Mon, 11 Mar 2019 19:39:34 +0200 Subject: [PATCH] Fix #297 --- pf4j/src/main/java/org/pf4j/AbstractExtensionFinder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } -- 2.39.5