Programming Tutorials

Comment on Tutorial - java.lang.NoClassDefFoundError and java.lang.NoSuchMethodError By Yolander



Comment Added by : Javin @ Tibco RV Tutorial

Comment Added at : 2011-01-29 01:34:06

Comment on Tutorial : java.lang.NoClassDefFoundError and java.lang.NoSuchMethodError By Yolander
Hi,

Its worth noting that if you have two classes with same name in classpath in that case one which comes earlier in classpath will get picked up. this concept is very useful to test patch releases where you update only few classes to quickly test patch release or have added some debug print statement to troubleshoot any issue. to read more about <a href="http://javarevisited.blogspot.com/2011/01/how-classpath-work-in-java.html" title="How classpath works in Java"> How classpath works in Java </a>

Thanks
Javin
<a href="http://javarevisited.blogspot.com/2010/10/why-string-is-immutable-in-java.html">Why String is immutable in Java </a>


View Tutorial