问题:IDEA找不到mapper.xml模板 解决方案:自己加 1.File-Setting 2.Editor-File and Code Templates 3.添加通用模板 <?xml version="1.0" encoding="UTF-8" ?