摘要: Mybatis程序,测试中可能遇到的问题以及解决方案: 错误一:找不到mybatis配置文件java.io.IOException: Could not find resource org/mybatis/example/mybatis-config.xml 解决方案: 在pom.xml中增加bui 阅读全文
posted @ 2022-03-14 17:56 望穿先生 阅读(128) 评论(0) 推荐(1) 编辑
摘要: 1. 第一个mybatis程序 思路: -->搭建环境 (新建Maven项目) -->在pom.xml中,导入Mybatis,mysql,Junit依赖 -->在resources文件夹中新建mybatis-config.xml文件 -->编写mybatis的工具类(MybatisUtils.jav 阅读全文
posted @ 2022-03-14 17:51 望穿先生 阅读(98) 评论(0) 推荐(0) 编辑