0-7 - 未找到反射类
可能的原因
- 一般是
Class.forName(className)
执行此方法时,找不到className
当前类。 - 业务代码上显示排除了当前
className
类,导致加载时未找到。
排查和解决步骤
- 检查
Class.forName(className)
中,className
是否存在。 - 排查业务代码,有没有使用配置或扫描注解
exclude
排除了一些类或包。
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
最后修改 December 5, 2022: Add error code 0-6 ~ 0-15 (#1620) (cd487ad44)