mybatis整合在springboot中时,出现 class path resource [mapper/*.xml] cannot be opened because it does not exist 指定 mybatis 映射文件位置 mybatis.config-locations=classpath:xxx/*.xml locations写错成location,springboot就找MyBatis主配置文件,如果这个文件没有就会报错 要下面加s的