Mybatis中的Caused by: org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): 找不到Mapper.xml文件的问题
1 首先在配置mapper-locations的时候:
classpath: 只在现有目录下寻找配置文件
classpath*: 在现有的项目目录下和依赖的jar包下寻找xml配置文件
1 首先在配置mapper-locations的时候:
classpath: 只在现有目录下寻找配置文件
classpath*: 在现有的项目目录下和依赖的jar包下寻找xml配置文件