When you toss eclipse, you often encounter this situation:
A library is missing, and after it is found, it needs to be added to the current project so that import XXX in the code can be imported properly.
Example:
"Resolved" Java code error for eclipse: The import Org.apache cannot be resolved
"How to import/Add (external) library/jar packages in Eclipse"
Basic ideas:
Since this is a library that is imported externally, the idea is:
By Add External achieves ... Imported in the same way.
Specific operation, there are many ways:
(1) The quickest is:
Right-click Project->build Path, Add External achieves ...
Example:
Then select, single or multiple, corresponding libraries (jar packages):
Click OK again.
(2) A slightly troublesome one is:
Right-click the project->properties->java Build Path, Libraries, Add External JARs
Then again, select the corresponding, single, or multiple jar packages and then OK to join in:
Summary
In Eclipse, add an external jar package, all of:
ADD External achieves ...
Can.
How to add a library (jar package) to eclipse