我已经将mybatis-config.xml放在resources文件夹下了,它也是resources root目录,在运行测试类的时候还是报错找不到。
报错
java.io.IOException: Could not find resource mybatis-config.xml
at org.apache.ibatis.io.Resources.getResourceAsStream(Resources.java:114)
at org.apache.ibatis.io.Resources.getResourceAsStream(Resources.java:100)
at dao.StudentDaoTest.insertStudent(StudentDaoTest.java:19)
求专家们帮忙解决!