We use a ftp-target in ant for deploying a zip-file to our server:
<ftp server="${FTP_SERVER}"
remotedir="${FTP_REMOTE}"
userid="${FTP_USER}"
password="${FTP_PASS}">
<fileset file="appcms-${version}.zip"/>
</ftp>
But circle ci throws an error:
/home/ubuntu/backend/build.xml:100: Could not create type ftp due to java.lang.NoClassDefFoundError: org/apache/commons/net/ftp/FTPClientConfig
We have test to install the required libraries in the dependency commands:
sudo apt-get install liboro-java
sudo apt-get install libcommons-net-java
But the error still exists?This text will be hidden