1.tools->deployment->configuration; 2.按要求填好配置参数;mappings那里都要填/根路径。 3.配好了之后,tools->deployment->browse remote host;还可以把代码下载到本地; 4.设置代码自动上传,tools->deployment->automatic upload;