Search code examples
intellij-ideaintellij-14

Intellij Hot swap webapp folder not working


I am running a simple Maven web application using spring. My project structure is as following

src-main-java
src-main-webapp

My HTML file in the webapp folder. When I do update class and resource in debug mode it updates my Java classes but not my HTML files.

How to fix this?


Solution

  • There is a known issue. You may need disable cache in your view resolver. then it should work just fine.

    e.g. resolver.setCacheable(false); for Spring or ThymeLeaf application.