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

2 comments
Comment actions Permalink

Did you already check the solutions like http://stackoverflow.com/q/11333462/104891?

0
Comment actions Permalink

Wow, thank you so much. I spent around 8 hours on this issue already, and I got it working now.

Thanks again!

0

Please sign in to leave a comment.