IntelliJ hot swapping classes, but not JSF pages

给你一囗甜甜゛ 提交于 2019-11-29 18:02:27

I decided to do fresh instalation of IntelliJ and take some JSF sample project.

I found out that the settings described is working, so there is something wrong either with my working project, or instalation of IntelliJ

In order hot-swap of resources to work, the exploded artifact must be named with resp. extension ("war", "ear").

For example if your artifact is called ROOT.war, the exploded artifact must also be called ROOT.war, although while the first one is actually a zip, the second one is a folder.

This works on my JBoss server.

I had the same problem and eventually found that javax.faces.FACELETS_REFRESH_PERIOD was set to -1. As described in this post, changing it to 0 worked.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!