这是我项目的目录结构,在运行项目的时候一直报错说找不到mybatis的配置文件
解决方法:
<mapper resource="dao/IUserDao.xml"/>
<select id="findAll" resultType="domain.User">
select * from vincenttest.user
</select>
要注意 . 和 / 的区别
这是我项目的目录结构,在运行项目的时候一直报错说找不到mybatis的配置文件
解决方法:
<mapper resource="dao/IUserDao.xml"/>
<select id="findAll" resultType="domain.User">
select * from vincenttest.user
</select>
要注意 . 和 / 的区别