问答详情
源自:3-6 dao层开发

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

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

提问者:owo6ovo 2019-10-29 11:49

个回答

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

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

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

    求大神解答