Classloading article
https://www.cnblogs.com/aspirant/p/7200523.html
Look at the way the loading mechanism tomcat
https://www.cnblogs.com/aspirant/p/8991830.html