mirror of https://github.com/apache/cloudstack.git
Fix a bug that prevented me from starting CS.
No idea why this error suddenly pops up, this is old (but wrong) code.
This commit is contained in:
parent
cf5b56d617
commit
a265d7b505
|
|
@ -168,12 +168,11 @@ public class OnwireClassRegistry {
|
|||
try {
|
||||
Class<?> clz = Class.forName(className.replace('/', '.'));
|
||||
classes.add(clz);
|
||||
} catch (ClassNotFoundException e) {
|
||||
} catch (NoClassDefFoundError e) {
|
||||
} catch (ClassNotFoundException | NoClassDefFoundError e) {
|
||||
s_logger.warn("Unable to load class from jar file", e);
|
||||
}
|
||||
}
|
||||
}
|
||||
IOUtils.closeQuietly(jarFile);
|
||||
}
|
||||
} while (jarEntry != null);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue