"Hibernate advanced" How to add jar packages in MyEclipse

Source: Internet
Author: User

The purpose of this blog is to prepare for the next blog walkthrough of Hibernate, and how to add jar packages to hibernate projects in MyEclipse, in two ways: ① directly adding ② to build a local repository, referencing the required jar packages, and putting the local repository into the project.

Method 1: Add directly

1. Right click on the project and click Properties



2, select "Java Build Path", select "Libraries", click Add External jars, you can



Method 2: build the local repository, reference the required jar package, and put the local warehouse into the project

1. The name of a new Hibernate3 local repository

2. Add the required jar package


3. Add to User Library


4. Add the jar package of the local warehouse to your project.





"Hibernate advanced" How to add jar packages in MyEclipse

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.