Dynamic loading of Java classes

Mark first, when debugging the SDK the day before yesterday, I encountered a problem, the program keeps reporting errors, and a class BasePay is undefined when running

 

But I have put the source code of the BasePay class into the project, how can this happen?

 

After searching for a long time, I found that when I initialized in the application according to the documentation, after dynamically loading a library, the problem was solved

 

Therefore, it is judged that the parent class of the BasePay class is dynamically loaded, but the source code cannot be seen, so it can only be guessed.

Because I don't understand the dynamic loading of java

 

 

! ! ! to be sorted out

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326571139&siteId=291194637