"Dynamic loading of reflex realization" debugging errors

xiaoxiao2021-03-06  115

http://blog.9cbs.net/brom/archive/2004/08/17/77278.aspx

An article on the dynamic load of the reflection to achieve the class, not bad, but unfortunately, it is not possible to pass the above code, an error in this sentence:

Object returnObject = M.Invoke (Mo, Args);

The error message is: Handler-response: java.lang.illegalargumentException: argument type mismatch

I started to think that it is MO, but I found facts in args, because of this question:

Args [0] = header;

Because Args [0] accepts the List type, the report above is wrong.

转载请注明原文地址:https://www.9cbs.com/read-125545.html

New Post(0)