There are two common ways to add a referenced jar package in Eclipse, and one is to add the referenced Library, which is a simple way to->import out of the right-hand side of the selected item, and you can go directly to webroot->web-inf- >lib the jar file is copied, the disadvantage is that the next time you add the same jar package, you will find the jar package file, and then repeat the above work.
The second one is to add the user Library, as follows:
1. Select Project Right-click->build path->add Libraries ...
2. Select User Library->next
3. Click on the User Libraries button "top right Corner"
4. Click the New button
5. Type the name of the library name (for example, using the name Springjar)
6. Click Add External JARs
7. Locate the jar file you want to add
7. Click OK
8. Click Finish
9. Click OK
It's done.
Modify Jar
1. Select Project Right-click->build path->add Libraries ...
2. Select User Library->next
3. Click on the User Libraries button "top right Corner"
4. Select one, click Add or remove on the right