Class c = CRUDMentMainTest.class;Method t2 = c.getMethod("t2");因为c.getMethod("t2");只能调用 public 方法改用:Method t2 = c.getDeclaredMethod("t2");