jar package imports and import source project MyBatis

SSM recent study framework, along with books knock, books and some details are not related to, knock yourself in the process also encountered some problems, recorded!

A, MyBatis packet into Eclipse

MyBatis first need to download the package, download links: https://github.com/mybatis/mybatis-3/releases

As shown above, the first one is a jar file MyBatis the folder, the last two is the source (download one line).

Download Well, extract as follows:

The first is a lib file MyBatis dependent on third-party packages.

After opening Eclipse, create a project, right-click the src -> Build Path -> Configure Build Path ...

 

Once inside the interface is the map, and click Add External JARs in the Libraries

Then the first file you downloaded in a jar can be imported, thus completing the import MyBatis jar package! So Easy!

 

Two, MyBatis source introduced

Right click on the map in the 3.4.1.jar-MyBatis -> the Properties , enter the interface shown below:

Then select Java Source Attachment -> External location -> External Folder ...

Select the download path of the file after extracting the source folder, Apply to complete the import source!

 

A person interbank material to the Internet research monk

I hope you will focus on ~

Guess you like

Origin www.cnblogs.com/reformdai/p/11666177.html