mybatis分析
1.搭建mybatis源码环境
首先从github上下载源码,地址:https://github.com/mybatis/mybatis-3/tree/mybatis-3.5.4
把下载好的源码引入到 idea 开发工具中,大家要注意,把源码的 pom.xml 配置文件如下坐
标的值从 true 修改成 false 或者删除掉,如果为 true,表示该标签其他项目不能引入该依赖
<dependency> <groupId>ognl</groupId> <artifactId>ognl</artifactId> <version>3.2.11</version> <scope>compile</scope> <optional>true</optional> </dependency>
执行 maven 的命令,命令如下,跳过测试
mvn clean install -Dmaven.test.skip=true
如果安装的过程中出现了错误,把下面的坐标依赖注释掉即可
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-pdf-plugin</artifactId> </plugin>
https://blog.csdn.net/lj1314ailj/article/details/79753157?ops_request_misc=&request_id=&biz_id=102&utm_term=idea导入mybatis3.5源码&utm_medium=distribute.pc_search_result.none-task-blog-2allsobaiduweb~default-0-79753157
相关推荐
Dullonjiang 2020-07-05
xiuyangsong 2020-11-16
Nishinoshou 2020-11-09
jimgreatly 2020-09-01
dongxurr 2020-08-18
Dullonjiang 2020-08-15
Dullonjiang 2020-08-11
Dullonjiang 2020-08-09
dongxurr 2020-08-08
yunzhonmghe 2020-08-07
jimgreatly 2020-08-03
Dullonjiang 2020-07-30
jimgreatly 2020-07-27
liqiancao 2020-07-26
xiuyangsong 2020-07-26
dongxurr 2020-07-26
mcvsyy 2020-07-26
helloxusir 2020-07-25