### 描述: xml 文件未被加载。 ### 方案: ``` mybatis-plus: mapper-locations: ["classpath*:/mapper/*.xml"] ``` - `*` 当存在多个子模块的时候,要使用 `classpath*` 方式 - 听网上说要加双引号才能生效 ### 参考文档: