java.io.FileNotFoundException: class path resource [classpath*:/mapper/*.xml] cannot be opened because it does not exist

来源:3-6 dao层开发

owo6ovo

2019-10-29 11:49

java.io.FileNotFoundException: class path resource [classpath*:/mapper/*.xml] cannot be opened because it does not exist

写回答 关注

2回答

  • qq_慕田峪4315163
    2019-12-17 10:20:00
    已采纳

    检查一下mapper文件 跟SessionFactoryConfiguration 下的sqlSessionFactoryBean.setMapperLocations(resolver.getResources(packageSearchPath));有没有写错

  • owo6ovo
    2019-10-29 11:49:47

    求大神解答

SpringBoot+MyBatis搭建迷你小程序

SpringBoot+MyBatis搭建小程序后台

91498 学习 · 621 问题

查看课程

相似问题