The Artima Developer Community
Sponsored Link

Java Buzz Forum
ClassNotFoundException vs NoClassDefFoundError in Java

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Java Experience

Posts: 58
Nickname: javaexp
Registered: Dec, 2012

Java Experience is a place for Java, web, spring, android tutorials
ClassNotFoundException vs NoClassDefFoundError in Java Posted: Dec 26, 2012 1:58 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Java Experience.
Original Post: ClassNotFoundException vs NoClassDefFoundError in Java
Feed Title: Java Experience
Feed URL: http://www.javaexperience.com/feed/
Feed Description: A place for all type of Java web tutorials
Latest Java Buzz Posts
Latest Java Buzz Posts by Java Experience
Latest Posts From Java Experience

Advertisement
As the name suggests NoClassDefFoundError is an error while ClassNotFoundException is an exception. There is a difference between error and exception in Java. While one can recover from an Exception, no attempt should be made to recover from an error. Reason for ClassNotFoundException Java supports dynamic loading of classes by the use of Class.forName method. [...]

Read: ClassNotFoundException vs NoClassDefFoundError in Java

Topic: Agile Software Developer Terminology for New Programmers Previous Topic   Next Topic Topic: Ensuring the order of execution for tasks


Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2014 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us