在配置MySQL数据源的时候,使用mybati指定配置文件的位置,通过new PathMatchingResourcePatternResolver().getResource("classpath:mapper/*.xml")读取mapper下的配置文件时,提示找不到该文件代码如图
classpath*
把classpath:去掉
classpath: