MyBatis映射xml文件位置 在application里面 # 配置MyBatis框架的映射配置文件的位置 mybatis.mapper-locations=classpath:mapper/*xml 映射对应的mapper下的所有xml文件: