In Eclipse, the following import...
import org.apache.commons.net.ftp.FTPClient;
...produces the following error message...
The import org.apache cannot be resolved
I do not know how to import, nor where to download the import (if necessary). I might need a click-by-click set of Eclipse directions to resolve this.
Steps:-
Download this commons-net.jar file
Extract the zip file
Copy the Jar file
Place the file in lib folder of your project.
Right click on the project
On left side of list, click on "Java Build Path"
Click on Libraries tab and Click on "Add Jar"
Browse the Commons-net.jar file and click on insert
Here's the official Apache download site for Commons Net.
Once you've picked and extracted the appropriate version, set a dependency in your Eclipse project:
The dependency does not need to be local to your project, but may be.
If you'd like a project-relative library, drop the jar into an appropriate project-relative location. For project libraries, choose "Add Jars" in the "Libraries" tab; for external libraries, choose "Add External Jars".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With