简体   繁体   中英

Installing a remote Tomcat server in Eclipse

I want to deploy and debug a local web application using a remote instance of Eclipse. I went through the normal "Create a server" wizard and specified my hostname as show below:

定义新服务器

However, the next step requires I specify a local tomcat directory. How can I specify a remote location instead?

在此输入图像描述

Assuming you have started tomcat process with the appropriate debug options , the way to remote debug (webapp or standalone app) is to setup a "Remote Java Application" debug configuration for your webapp project in eclipse.

(Available via Run->Debug Configurations->Remote Java application)

在此输入图像描述

要将本地应用程序部署到远程Tomcat,还可以使用Tomcat Ant部署任务和管理器,并使用@amol描述的调试技术。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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