- mybatis入门安装官方指导:https://mybatis.org/mybatis-3/zh/getting-started.html
- 我使用的是 Maven 来构建项目,则需将下面的依赖代码置于 pom.xml 文件中
下载的坐标:
org.mybatis mybatisx.x.x
- 复制到maven项目中的pom.xml文件时报红
外层缺少
- 将 x.x.x改成具体的版本号,我这里用的3.5.5,maven同步一下即可
org.mybatis mybatis3.5.5

下载的坐标:
org.mybatis mybatisx.x.x
外层缺少
org.mybatis mybatis3.5.5