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

Dear 丶 2022-06-10 08:06 337阅读 0赞

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

  1. Uploading to (服务器ip) failed: could not list the contents of folder "ftp://服务器ip/".
  2. 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服务器

发表评论

表情:
评论列表 (有 0 条评论,337人围观)

还没有评论,来说两句吧...

相关阅读