问题
I have installed Tomcat server on my PC and I have added it as a service
in Windows. So now it starts each time I boot my computer. Now, in IntelliJ I have configured an application server, and that is my Tomcat server, however when trying to "run" the application it says that the port is already in use....and it is ofcourse since Tomcat is started on boot. Is it possible that IntelliJ deploys to the already running Tomcat server instead of trying to start again?
回答1:
If you want to deploy to Tomcat started outside of IDEA, use the Tomcat Remote Run/Debug configuration type.
The difference of the Remote configuration is that it doesn't start the server, ensure you create Remote configuration, not Local:

It's possible to update application without restarting the server, refer to the Updating Applications on Application Servers help section.
回答2:
You can use Jrebel plugin. It will be helpful to update your application without restarting your server.
来源:https://stackoverflow.com/questions/10461717/deploying-to-a-tomcat-server-which-is-already-running-outside-of-intellij-idea