Home  >  Article  >  Java  >  How to download and install mybatis in java

How to download and install mybatis in java

WBOY
WBOYforward
2023-05-19 17:13:512158browse

(1) Import the Mybatis development package

mybatis-3.1.1.jar

commons-logging-1.1.1.jar

log4j-1.2.16.jar

cglib-2.2.2.jar

asm-3.3.1.jar

(2) Import mysql/oracle development package

mysql-connector-java-5.1.7-bin.jar

Oracle 11g 11.2.0.1.0 JDBC_ojdbc6.jar

2.mybatis download and installation

(1) Unzip the downloaded mybatis-3.5.5.zip,


How to download and install mybatis in java

(2 ) Import mybatis-3.5.5.jar, all jar packages under the lib path, and the import projects required by jdbc. Log4j-1.2.17.jar is a package used to output logs, and the database needs to correspond to the jdbc driver. Import the package into the project.

How to download and install mybatis in java

The above is the detailed content of How to download and install mybatis in java. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:yisu.com. If there is any infringement, please contact admin@php.cn delete