classnotfoundexception vs NoClassDefFoundError
classnotfoundexception :产生原因:主要是调用Class.forName(), classLoader.loadClass(), class.findSystemClass()时,需要加载一个类到内存中时,抛出的异常。哪些情况会出现:1)框架或者web容器通过Class.forName()加载一个类,找不到类时2)框架或者web容器通过Class.forNam
原创
2015-10-02 19:09:15 ·
457 阅读 ·
0 评论