In project development, maven is generally used to manage projects, but sometimes it is necessary to reference the jar package under the local lib.
For example, there is no jar package in the central warehouse. At this time, we need to introduce the jar package under lib.
1. First add local jar packages in dependencies. As shown in Figure 1.1
Click the plus sign at the red box and select Add JARs or directories
Add the jar package under the project lib, as shown in Figure 1.2 1.3.
2. As shown in Figure 1.4, enter Artifacts, right-click the newly added package, put into /WEB-LIF/lib
3. Repack
The above is all the content of this article. I hope it will be helpful to everyone's learning and I hope everyone will support Wulin.com more.