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>
复制代码

 

posted @   靠谱杨  阅读(1223)  评论(0编辑  收藏  举报
编辑推荐:
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
阅读排行:
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· AI技术革命,工作效率10个最佳AI工具
历史上的今天:
2020-11-22 JDBC补充知识

喜欢请打赏

扫描二维码打赏

了解更多

点击右上角即可分享
微信分享提示