ClassNotFoundException is the most common type of class loading exception.
ClassNotFoundException是最常见的类装入异常类型。
ClassNotFoundException - If the class of a serialized object cannot be found.
如果序列化对象的类不能找到时抛出。
If the parent returns null (or throws a ClassNotFoundException), then the class loader searches its own path for the source of the class.
如果父类返回null(或抛出ClassNotFoundException),那么类装入器会在自己的路径中寻找类的源。
If the class cannot be found, that means that it was not loaded by any of the class loaders present in the system (which would usually result in a ClassNotFoundException).
如果找不到某个类,说明系统中的任何一个类装入器都没有装入它(通常会形成ClassNotFoundException异常)。
By throwing a ClassNotFoundException, the class loader informs you that the bytecode required to define the class is simply not present in the locations where the class loader is looking for it.
通过抛出ClassNotFoundException,类装入器提示,定义类时所需要的字节码在类装入器所查找的位置上不存在。
By throwing a ClassNotFoundException, the class loader informs you that the bytecode required to define the class is simply not present in the locations where the class loader is looking for it.
通过抛出ClassNotFoundException,类装入器提示,定义类时所需要的字节码在类装入器所查找的位置上不存在。
应用推荐