From dacbda1a233291d74545b6e9b3a85fb148236a6c Mon Sep 17 00:00:00 2001 From: Decebal Suiu Date: Thu, 30 Jun 2022 01:38:47 +0300 Subject: [PATCH] Fix #492 --- 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 42d59ae..8288ddc 100644 --- a/pf4j/src/main/java/org/pf4j/AbstractExtensionFinder.java +++ b/pf4j/src/main/java/org/pf4j/AbstractExtensionFinder.java @@ -151,7 +151,7 @@ public abstract class AbstractExtensionFinder implements ExtensionFinder, Plugin checkDifferentClassLoaders(type, extensionClass); } } - } catch (ClassNotFoundException e) { + } catch (ClassNotFoundException | NoClassDefFoundError e) { log.error(e.getMessage(), e); } }