Update classes and resources not working
Answered
Hi, I'm developing a web application on IntelliJ 2016.1.3. Whenever I change a static file, I cannot see the changes if I just refresh the page, I have to redeploy or restart the server. I'm using Tomcat 7.0.68, and the war:exploded artifact.
I can also see that the changes I make to the files are being saved on the "target" folder of my webapp, but the changes are not being copied to the exploded war on Tomcat's "temp" folder.
If it makes any difference, I'm using Maven and Spring MVC.
Any ideas?
Thanks,
Matias
Please sign in to leave a comment.
Did you already check the solutions like http://stackoverflow.com/q/11333462/104891?
Wow, thank you so much. I spent around 8 hours on this issue already, and I got it working now.
Thanks again!
It does not work. I can see the untouched files in the target forlders.
Hot swaps do nothing, it says I have nothing to update.
cachingAllowed="false" in the context.xml of Tomcat did not help.
Sergey Osipov Please contact support at https://intellij-support.jetbrains.com/hc/requests/new and attach a sample project with the steps to reproduce the issue.