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

index 2a84b4f4fc1756f6e53259c6ea25546eeb489e9d..69e46e33cf6ab03039d5a7644237eb455ff2e4e4 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 e) {
+            } catch (ClassNotFoundException | NoSuchMethodError e) {
                 log.error(e.getMessage(), e);
             }
         }