Failed to transfer file could not determine the type of file "ftp

来源:互联网 发布:无盘网吧网络拓扑图 编辑:程序博客网 时间:2024/06/05 10:44

使用Intellij IDEA部署项目到远程服务器时报如下错误:

Uploading to (服务器ip) failed: could not list the contents of folder "ftp://服务器ip/". Failed to transfer file 'D:\IdeaProjects\target\TogetherCrowdfunding\WEB-INF\classes\com\test\crowdfunding\mapper\UserMapper.class': could not determine the type of file "ftp://服务器ip/TogetherCrowdfunding/WEB-INF/classes/com/test/crowdfunding/mapper/UserMapper.class".

只要在配置远程服务器界面选择高级选项,勾选Passive mode:

这里写图片描述

配置部署到远程Tomcat服务器

阅读全文
1 0
原创粉丝点击