mybatis和spring整合的jar包准备

2021-08-05 02:56

阅读:716

标签:spring   target   height   成功   测试   https   parent   http   命令   mybatis和spring整合 需要jar包 1、spring      2、mybatis      3、mybatis和spring的整合包(下载地址:https://github.com/mybatis/spring)          3.1、下载只有maven工程源码,没有jar包            3.2、根据源码自己生成,导入maven工程                   3.3、打开pom.xml,查看mybatis-spring的依赖的父工程版本         3.4、选择mybatis-spring对应的mybatis-parent版本     官网地址:https://github.com/mybatis/parent           4、编译mybatis-parent源码,编译mybatis-spring源码   4.1、编译mybatis-parent项目     命令:mvn clean install   4.2、编译mybatis-spring项目     命令:mvn install -Dmaven.test.skip=true 5、运行mybatis-spring项中的测试类,运行成功,说明已经编译好了         6、查看spring-mybatis-spring-2.0.6\target          mybatis和spring整合的jar包准备标签:spring   target   height   成功   测试   https   parent   http   命令   原文地址:https://www.cnblogs.com/WarBlog/p/14954449.html


评论


亲,登录后才可以留言!