springboot中集成mybatis使用mapper.xml文件 主程序中要配置@MapperScan(“扫描的包名”) @MapperScan("com.guigu.springboot.mapper") @SpringBootApplication public class Springboot06DataMybatisApplication { public static