问题描述
在更新应用程序选项卡中,它已经在调试的底部了:
,
我尝试使用所有更新选项来更新我的应用程序(更新类,更新类资源,重新启动)和NONE工作来更新我的服务器。我甚至关闭并重新启动了IntelliJ,并且更新仍然没有出现。
更新是一个简单的警报消息,在加载index.html时触发。它在我手动加载html时起作用,但是当我运行服务器时,它不会提醒,这意味着它仍在使用我的服务器的前一次迭代?这真是令人沮丧,因为我看不到我的任何更改,也不知道如何修复我的服务器。
我使用最新的Glassfish服务器和最新的IntelliJ IDE。它确实更新我的资源EVENTUALLY,但不是通过一些定义的模式,据我所知。
以下是我从你的其他帖子。我会建议关闭这一个,并继续讨论单线程(如果仍然需要)。 预期顺序如下: 我怀疑你错过了最后一步(3)。请注意,步骤(2)只更新服务器上的资源,并且要查看浏览器中的更改(在客户端上),您应该通过手动刷新页面从服务器重新加载相应的资源。 希望有帮助, IntelliJ is acting odd with its redeployment settings. In the "updating applications" tab it has on the bottom for debugging: , I have tried to use all of the update options in order to update my application (update classes, update classes resources, restart), and NONE work to update my server. I have even closed and rebooted IntelliJ and the updates still don't appear. The update is a simple alert message that is triggered when the index.html is loaded. It works when I load the html manually, but when I run the server, it does not alert, meaning it is still using a previous iteration of my server? This is really frustrating as I can't see any of my changes and don't know how to fix my server. I am using the latest Glassfish server and latest IntelliJ IDE. It does update my resources EVENTUALLY, but not through some defined pattern as far as I can tell. Below is the copy of my answer from your other post. I would suggest to close this one and to continue discussion in single thread (if still needed). The expected sequence is as follows: I suspect you're missing the last (3) step. Please note, step (2) only updates the resource on the server, and to see a change in browser (on client) you should reload the corresponding resources from server by refreshing the page manually. Hope that helps, 这篇关于IntelliJ不更新Glassfish部署的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!