反射 java.lang.IllegalArgumentException: object is not an instance of declaring class at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.Delegat

 
Object invoke = t2.invoke(crudMentMainTest);
第一个参数必须要是此类的一个,第二个之后是参数

posted on 2021-07-24 14:25  bkytian  阅读(297)  评论(0编辑  收藏  举报

导航