Apache tomcat doesn't recognize git stashed and later git stash applied changes
<p>I had a repository with code that I was testing via running a server at localhost. The standard procedure was to start Apache-Tomcat-7, re-build the project using Maven and deploy it. </p>

<p>After a while of coding I decided to <code>git stash</code> current changes, then built and deployed the old version, it ran correctly in all browsers. After that I called <code>git stash apply</code>and once again built and deployed the created .war file. However, despite the correct version of code both in generated war and in the deployed .war, now none of the browsers see the new applied version. </p>

<p>I tried <kbd>Ctrl</kbd>+<kbd>F5</kbd>, removing cached files, shutting down Tomcat &amp; deleting the logs &amp; starting it again. And yet the changes, despite being correctly deployed, don't appear in browsers when I navigate to localhost.</p>

<p>How to fix it, what am I doing wrong?</p>