You can create your own package library by using the user library, where you can add frequently used jar packages or your own jar packages so that you only need to import the library when you use it.
No need to bother importing all the required jar packages every time
The steps are as follows:
One: The steps to add the user library to Eclispe:
1. Click Eclipse's Window menu and select "Preference"
2. Select Java->user Libraries in the Preferences window and click on the New button on the right side of the window. button to enter the name of the user library in the popup Subwindow, the new library name will appear in the User Libraries window, such as hibernate.
3. Add the jar package to the user library. Select Hibernate, and then click Add JARS ... button, select the jar you want to add, click the "Open" button, and the jar file information you just added will appear in Hibernate library.
Two: Import the library in the project
You can then import the user library that you created in your project.
As follows:
1, right-click the project name-->build Path--->add Libraries. Then select the user library, and then you will see the library libraries you created, select it.