我的目录结构
pom下的配置
mybatis-config的配置
mapper文件的配置
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.nslcj.mybatis.mapper.EmployeeMapper">
<select id="getEmpById" resultType="com.nslcj.mybatis.bean.Employee" databaseId="mysql">
select * from employee where id=#{id}
</select>
<select id="getEmpById" resultType="com.nslcj.mybatis.bean.Employee" databaseId="oracle">
select * from employee where id=#{id}
</select>
</mapper>
报的错误