]> source.dussan.org Git - pf4j.git/commitdiff
Fix #297
authorDecebal Suiu <decebal.suiu@gmail.com>
Mon, 11 Mar 2019 17:39:34 +0000 (19:39 +0200)
committerDecebal Suiu <decebal.suiu@gmail.com>
Mon, 11 Mar 2019 17:39:34 +0000 (19:39 +0200)
pf4j/src/main/java/org/pf4j/AbstractExtensionFinder.java

index 69e46e33cf6ab03039d5a7644237eb455ff2e4e4..b260c39fb81f4576eb9dc53fc41cf537955aa12e 100644 (file)
@@ -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);
             }
         }