Purpose: For more convenient management of jar packages, instead of peremptorily the referenced jar packages all in the Web App library.
Management and configuration:
First step: Manage
New library and introduced into the project
Right-click Project->build path->configure Build path->add library->user library->user libraries->new-> naming ADD External jars-> Select Jar Package->ok,finish,apply
Step Two: assembly configuration
The custom library will not automatically load under Lib when the project is published, causing an error to start
Workaround: Web Deployment Assembly (Web Deployment assembly)
Right-click Project->properties->deployment assembly->add->java Build Path entries-> Select Custom Library,finish,apply,ok
Start Again, OK
PS: This 獂 blog novice, if there are errors or inappropriate, welcome you to correct the prawns. Forwarding please indicate the source, thank you.
Managing jar packages with the user library in eclipse