Here is my work environment: Eclipse Juno as IDE with maven2 plugin on it – it uses maven 3.0.4 installation from my system – and my maven web project is deployed to a remote server on an Apace Tomcat java server. (The server is in the same LAN with my machine.) Every thing works perfect, except some rare situations: it happens randomly.
Problem: At some times, when I try to redeploy my updated project to Tomcat, through tomcat-maven-plugin, the JavaScript files in the Tomcat‘s project directory, DO NOT change. They stay intact (even if I did changes to them), and my application has lack in behavior. No errors are reported by maven during redeployment.
Question: do you have any idea about what’s happening?
N.B.
- In the rare situations when I got that problem, I got it working finally, after rebooting the
Tomcatserver, deleting theTomcat‘s project directory, cleaningmaveninstalled artifact and other actions that I did – I just tried all what I could do, because I didn’t have any logical clue for what happend. - I updated
Eclipse GalileotoEclipse Junotwo days ago, and I encountered this problem in both of them. So, I think that’s an issue rather related tomavennot toEclipse.
I found it: I wasn’t right when I said that the files are not updated on the server. My problem was the browser. It loads the
Javascriptfile from cache.So
Ctrl+F5resolved the problem.