Java code in Netbeans IDE: Code executed is the older one! even when I make changes in the code -


i building application in java using netbeans ide. trying debug errors in code. when modify messages passed in log statements, not see corresponding change in logged messages. implies when execute code, runs older version of code & prints old version of log messages well.

what cause of error ? & how should rectify ?

thanks helping..

by saving code. assume, have compile-on-save enabled. if not have build before running it.

yes need enable build-on-save, otherwise glassfish wouldn't able show changes, because new changes have never been deployed. sometimes, deploying on save bothers lot. so, is, don't enable build-on-save , work tests , thereby run tests see result of change. when seems fine, build app , deploy on server further verifications.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -