Mybatis XXXMapper.xml映射文件配置
<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <!-- namespace:为了分类管理映射文件中的MappedStatement --> <mapper namespace="com.cyb.mybatis.mapper.UserMapper"> </mapper>