JSF not updated



I migrated from Eclipse to Idea and I'm trying to get what I was used to in Eclipse O:-)

I have PrimeFaces project using spring-boot. When I change my UI (.xhtml file) it is not loaded and I have to restart application. I had no such problem with Eclipse (simple Ctrl+F5 in browser worked). Can I achieve the same in Idea?



Please check Updating Applications on Application Servers. Make sure you are deploying an exploded (un-archived artifact) to an application server, and choose Update classes and resources option for updating the application.

Check also javax.faces.FACELETS_REFRESH_PERIOD parameter in web.xml file and facelets.DEVELOPMENT. This parameters might help to force JSF resources refresh, see https://stackoverflow.com/a/7514528/2000323.



Sorry, I'm aware that this is 5 years old, but I'm facing the same problem since an undetermined version. There's no javax.faces.FACELETS_REFRESH_PERIOD in my web.xml. I'm deploying the exploded artifact, and didn't change anything in my configuration, and this used to work until a few months ago. The team ask me for a bug report providing data of my project that I simply cannot, and there's several people complaining about the same. Eclipse provides this feature straight-forwardly. I believe it shouldn't be that hard to make it work properly once and for all. It's not feasible if you have to redeploy the whole application everytime you change a single dot in your .xhtml file.