Managing jar packages with the user library in eclipse

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.