登 录
使用invoke报错,原因为第一个参数不正确。
Object result = m.invoke(npd, new Object[] {});
npd应该为这个方法所在的Object的实例。
抱歉!评论已关闭.