This commit is contained in:
Looly
2023-03-09 20:51:23 +08:00
parent 8eb7352d14
commit 1a8a97e7b8
3 changed files with 8 additions and 8 deletions

View File

@@ -20,7 +20,7 @@ public class PoiChecker {
public static void checkPoiImport() {
try {
Class.forName("org.apache.poi.ss.usermodel.Workbook", false, ClassLoaderUtil.getClassLoader());
} catch (final ClassNotFoundException | NoClassDefFoundError e) {
} catch (final ClassNotFoundException | NoClassDefFoundError | NoSuchMethodError e) {
throw new DependencyException(e, NO_POI_ERROR_MSG);
}
}