Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Update resources" option missing in IntelliJ IDEA

I am using tomcat 7 for developing a java web application. Running tomcat in the debug mode, I do not have options to "Update resources" and "Update classes and resources" on the "Update" menu. There are only "Hot Swap classes", "Redeploy" and "Restart Server". Please, could you help find them? Thanks a lot in advance! It would save me a lot of time..

like image 734
helgJ Avatar asked Mar 01 '14 07:03

helgJ


People also ask

How do I enable hot deployment in IntelliJ?

Go to the File –> Settings –> Debugger –> HotSwap and ensure that all checkboxes are checked and the radio button “Reload classes after compilation” is set to “Always”. As next step, click on the ” Edit Configurations…” and go to the configured server.

How do I check for updates in IntelliJ?

Open the Toolbox App and click the Toolbox App menu icon in the top right corner. In the Toolbox App Settings dialog, expand Tools and select Update all tools automatically.

What does update do in IntelliJ?

When you perform the update operation, IntelliJ IDEA fetches changes from all project roots and branches, and merges the tracked remote branches into your local working copy (equivalent to pull).


1 Answers

All you have to do is deploy the exploded artifacts instead of the .ear/.war. Go back into the Run/Debug Configurations in the deployment tab and change the artifact that your deploying and pick the one that ends with :exploded

like image 86
ZeusSelerim Avatar answered Sep 22 '22 23:09

ZeusSelerim