Mybatis中的Caused by: org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): 找不到Mapper.xml文件的问题

1 首先在配置mapper-locations的时候:

  classpath:  只在现有目录下寻找配置文件

  classpath*: 在现有的项目目录下和依赖的jar包下寻找xml配置文件

posted @ 2018-11-13 14:08  今世,往生  阅读(360)  评论(0编辑  收藏  举报