When abnormal InstantiationException java using reflection to create objects: Caused by: java.lang.NoSuchMethodException:

| - anomalies

 

| - Abnormal

No need to instantiate the reference method of the class have been after covering the reference method, the object can not be created

| - Correction

To create a corresponding class constructor with no arguments

| - correction after effects

 

Guess you like

Origin www.cnblogs.com/twuxian/p/11620138.html