title: tomcat classes from previous run remains
body: <p>i am running an application which uses spring, hibernate, jsf, etc. the application also uses ha-jdbc to make the databases highly available. when the application is deployed for the first time, the app runs smoothly, but when it is un-deployed and deployed back, tomcat gives the following error:</p>
  
  <p>The following web applications were stopped (reloaded, undeployed), but their
  classes from previous runs are still loaded in memory, thus causing a memory
  leak (use a profiler to confirm):</p>
  
  <p>i am wondering how to get rid of this problem. any genius?</p>
  
  <p>thanks in advance.</p>