|
|
@@ -247,7 +247,7 @@ public class PathScanner {
|
|
|
}
|
|
|
// 此处不能 catch Exception,否则抓不到 NoClassDefFoundError,因为它是 Error 的子类
|
|
|
catch (Throwable t) {
|
|
|
- Log.getLog(PathScanner.class).debug(t.getMessage(), t);
|
|
|
+ Log.getLog(PathScanner.class).debug("PathScanner can not load the class \"" + className + "\"");
|
|
|
|
|
|
/**
|
|
|
* 由于扫描是一种主动行为,所以 pom.xml 中的 provided 依赖会在此被 loadClass,
|