简体   繁体   English

Intellij-Idea-Tomcat远程更新

[英]Intellij-Idea - Tomcat Remote Update

Using Local Tomcat Run/Debug Configuration there is a option to update resources and classes at runtime. 使用本地Tomcat运行/调试配置,可以选择在运行时更新资源和类。 However in Remote Tomcat Run configuration there is no such option. 但是,在“远程Tomcat运行”配置中,没有此类选项。 Does it mean intellij is unable to update files on remote Tomcat server? 这是否意味着intellij无法更新远程Tomcat服务器上的文件?

If not what is the actual difference beetween Tomcat Remote and standard Remote Run/Debug configurations? 如果不是,那么Tomcat Remote和标准Remote Run / Debug配置之间的实际区别是什么?

Most probably you don't have any artifact configured in your "Deployment" tab. 您很可能没有在“部署”选项卡中配置任何工件。 Add any and the missing options will appear: 添加任何,缺少的选项将出现:

在此处输入图片说明

In "Local" Tomcat configuration, "On 'Update' action" is always visible. 在“本地” Tomcat配置中,“打开'更新'操作”始终可见。 However if you don't have configured artifacts for deployment, it will contain "Restart server" only. 但是,如果您尚未配置要部署的工件,则它将仅包含“重启服务器”。 In "Remote" configuration you don't have the option to restart the server as it runs in different JVM, so the "On 'Update' action" is not visible (I agree this hiding is confusing though). 在“远程”配置中,由于服务器在不同的JVM中运行,因此无法选择重新启动服务器,因此“打开'更新'操作”不可见(我同意这种隐藏方式令人困惑)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM