title: Java code in Netbeans IDE: Code executed is the older one! even when I make changes in the code
body: <p>I am building an application in Java using Netbeans IDE. I am trying to debug some errors in my code. But even when I modify messages passed in the log statements, I do not see a corresponding change in the logged messages. This implies that when execute the code, it probably runs an older version of code &amp; prints the old version of log messages as well. </p>
  
  <p>What is the cause of this error ? &amp; how should I rectify this ?</p>
  
  <p>Thanks for helping..</p>