mybatis添加maven依赖
1 <dependencies> 2 <!--导入Mybatis依赖包--> 3 <dependency> 4 <groupId>org.mybatis</groupId> 5 <artifactId>mybatis</artifactId> 6 <version>3.5.2</version> 7 </dependency> 8 <dependency> 9 <groupId>mysql</groupId> 10 <artifactId>mysql-connector-java</artifactId> 11 <version>5.1.47</version> 12 </dependency> 13 <dependency> 14 <groupId>junit</groupId> 15 <artifactId>junit</artifactId> 16 <version>4.11</version> 17 </dependency> 18 <!--log4j--> 19 <dependency> 20 <groupId>log4j</groupId> 21 <artifactId>log4j</artifactId> 22 <version>1.2.17</version> 23 </dependency> 24 <!--lombok插件--> 25 <!-- https://mvnrepository.com/artifact/org.projectlombok/lombok --> 26 <dependency> 27 <groupId>org.projectlombok</groupId> 28 <artifactId>lombok</artifactId> 29 <version>1.16.10</version> 30 </dependency> 31 </dependencies> 32 <build> 33 <resources> 34 <resource> 35 <directory>src/main/resources</directory> 36 <includes> 37 <include>**/*.properties</include> 38 <include>**/*.xml</include> 39 </includes> 40 <filtering>false</filtering> 41 </resource> 42 <resource> 43 <directory>src/main/java</directory> 44 <includes> 45 <include>**/*.properties</include> 46 <include>**/*.xml</include> 47 </includes> 48 <filtering>false</filtering> 49 </resource> 50 </resources> 51 </build>
好看请赞,养成习惯:) 本文来自博客园,作者:靠谱杨, 转载请注明原文链接:https://www.cnblogs.com/rainbow-1/p/15587453.html
欢迎来我的51CTO博客主页踩一踩 我的51CTO博客
文章中的公众号名称可能有误,请统一搜索:靠谱杨的秘密基地