Transferred from: http://blog.csdn.net/zhoudaxia/article/details/35824249
1 Basic information
Each developer is certainly not unfamiliar with the java.lang.ClassNotFoundExcetpion exception, which involves class loading in the Java technology architecture. Java's class loading mechanism is the core of the technical system, although not much directly with the majority of developers, but the mechanism behind it has a certain understanding to help troubleshoot the application of class loading failure and other technical issues, to understand the Java Virtual Machine Connection model and Java language Dynamics are very helpful.
2 Java Virtual Machine class loader structure brief
2.1 JVM Three pre-defined type ClassLoader
Let's first look at the three types of class loaders that are predefined by the JVM, and when a JVM starts, Java defaults to using the following three types of class loaders:
Launch (Bootstrap) ClassLoader : The Boot class loader is a class loaded with native code
Deep Understanding Java ClassLoader (1): Java class loading principle parsing