<dependencies> <!--mybatis的依赖--> <dependency> <groupId>org.mybatis</groupId> <artifactId>mybatis</artifactId> <version>3.5.5</version> </dependency> <!--mysql 驱动--> <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>5.1.46</version> </dependency> <!--junit 单元测试--> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.13</version> <scope>test</scope> </dependency> </dependencies>
在pom.xml中添加了mybatis的依赖 mysql驱动的依赖 以及 junit的依赖
标签:xml,依赖,pom,mysql,mybatis,junit From: https://www.cnblogs.com/sxwgzx23/p/17321565.html