no message

This commit is contained in:
Sola
2016-03-25 04:29:00 +08:00
parent 2eb5b1344f
commit e20d550dfa

View File

@@ -37,7 +37,7 @@ public class APIRouter extends HttpServlet {
public APIRouter() {
try {
ClassPath path = ClassPath.from(getClass().getClassLoader());
ClassPath path = ClassPath.from(API.class.getClassLoader());
Set<ClassPath.ClassInfo> classes = path.getTopLevelClassesRecursive(getClass().getPackage().getName());
for (ClassPath.ClassInfo info : classes) {
Class<?> clz = info.load();